mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(settings): moving translucent widgets toggle to appearance subtab
This commit is contained in:
@@ -49,6 +49,14 @@ ColumnLayout {
|
||||
onToggled: checked => Settings.data.general.enableBlurBehind = checked
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.user-interface.translucent-widgets-label")
|
||||
description: I18n.tr("panels.user-interface.translucent-widgets-description")
|
||||
checked: Settings.data.ui.translucentWidgets
|
||||
defaultValue: Settings.getDefaultValue("ui.translucentWidgets")
|
||||
onToggled: checked => Settings.data.ui.translucentWidgets = checked
|
||||
}
|
||||
|
||||
NComboBox {
|
||||
visible: Settings.data.general.enableShadows
|
||||
label: I18n.tr("panels.user-interface.shadows-direction-label")
|
||||
|
||||
@@ -41,14 +41,6 @@ ColumnLayout {
|
||||
text: Math.floor(Settings.data.ui.panelBackgroundOpacity * 100) + "%"
|
||||
}
|
||||
|
||||
NToggle {
|
||||
label: I18n.tr("panels.user-interface.translucent-widgets-label")
|
||||
description: I18n.tr("panels.user-interface.translucent-widgets-description")
|
||||
checked: Settings.data.ui.translucentWidgets
|
||||
defaultValue: Settings.getDefaultValue("ui.translucentWidgets")
|
||||
onToggled: checked => Settings.data.ui.translucentWidgets = checked
|
||||
}
|
||||
|
||||
NValueSlider {
|
||||
Layout.fillWidth: true
|
||||
label: I18n.tr("panels.user-interface.dimmer-opacity-label")
|
||||
|
||||
Reference in New Issue
Block a user