mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
refactor: remove setting
This commit is contained in:
@@ -95,7 +95,7 @@ NPanel {
|
||||
// Lifecycle
|
||||
onOpened: {
|
||||
resultsReady = false
|
||||
ignoreMouseHover = Settings.data.appLauncher.ignoreInitialMousePosition // Use setting value
|
||||
ignoreMouseHover = true
|
||||
|
||||
// Notify plugins
|
||||
for (let plugin of plugins) {
|
||||
@@ -112,7 +112,7 @@ NPanel {
|
||||
onClosed: {
|
||||
// Reset search text
|
||||
searchText = ""
|
||||
ignoreMouseHover = Settings.data.appLauncher.ignoreInitialMousePosition // Use setting value
|
||||
ignoreMouseHover = true
|
||||
|
||||
// Notify plugins
|
||||
for (let plugin of plugins) {
|
||||
|
||||
@@ -99,13 +99,6 @@ ColumnLayout {
|
||||
onToggled: checked => Settings.data.appLauncher.useApp2Unit = checked
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("settings.launcher.settings.ignore-initial-mouse.label")
|
||||
description: I18n.tr("settings.launcher.settings.ignore-initial-mouse.description")
|
||||
checked: Settings.data.appLauncher.ignoreInitialMousePosition
|
||||
onToggled: checked => Settings.data.appLauncher.ignoreInitialMousePosition = checked
|
||||
}
|
||||
|
||||
NTextInput {
|
||||
label: I18n.tr("settings.launcher.settings.terminal-command.label")
|
||||
description: I18n.tr("settings.launcher.settings.terminal-command.description")
|
||||
|
||||
Reference in New Issue
Block a user