mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
MediaMini: add scrolling support (as requested in #293)
This commit is contained in:
@@ -385,6 +385,27 @@ ColumnLayout {
|
||||
currentKey: Settings.data.audio.cavaFrameRate
|
||||
onSelected: key => Settings.data.audio.cavaFrameRate = key
|
||||
}
|
||||
|
||||
// Scrolling Title Settings
|
||||
NToggle {
|
||||
label: I18n.tr("settings.audio.media.scrolling-title.label")
|
||||
description: I18n.tr("settings.audio.media.scrolling-title.description")
|
||||
checked: Settings.data.audio.scrollingTitle
|
||||
onToggled: checked => Settings.data.audio.scrollingTitle = checked
|
||||
}
|
||||
|
||||
NSpinBox {
|
||||
Layout.fillWidth: true
|
||||
label: I18n.tr("settings.audio.media.scrolling-speed.label")
|
||||
description: I18n.tr("settings.audio.media.scrolling-speed.description")
|
||||
minimum: 5
|
||||
maximum: 60
|
||||
value: Settings.data.audio.scrollingSpeed
|
||||
stepSize: 1
|
||||
suffix: "s"
|
||||
enabled: Settings.data.audio.scrollingTitle
|
||||
onValueChanged: Settings.data.audio.scrollingSpeed = value
|
||||
}
|
||||
}
|
||||
|
||||
NDivider {
|
||||
|
||||
Reference in New Issue
Block a user