[UI] Added scale keybinds.
This commit is contained in:
parent
79493a1cba
commit
ea40440d72
|
@ -92,6 +92,8 @@ Window {
|
||||||
property string increaseVolume: "*"
|
property string increaseVolume: "*"
|
||||||
property string decreaseVolume: "/"
|
property string decreaseVolume: "/"
|
||||||
property string mute: "m"
|
property string mute: "m"
|
||||||
|
property string increaseScale: "Ctrl+Shift+="
|
||||||
|
property string decreaseScale: "Ctrl+Shift+-"
|
||||||
property string customKeybind0: ""
|
property string customKeybind0: ""
|
||||||
property string customKeybind0Command: ""
|
property string customKeybind0Command: ""
|
||||||
property string customKeybind1: ""
|
property string customKeybind1: ""
|
||||||
|
@ -242,13 +244,13 @@ Window {
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
appearance.scaleFactor += 0.1
|
appearance.scaleFactor += 0.1
|
||||||
}
|
}
|
||||||
shortcut: "Ctrl+Shift+="
|
shortcut: appearance.increaseScale
|
||||||
}
|
}
|
||||||
Action {
|
Action {
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
appearance.scaleFactor -= 0.1
|
appearance.scaleFactor -= 0.1
|
||||||
}
|
}
|
||||||
shortcut: "Ctrl+Shift+-"
|
shortcut: appearance.decreaseScale
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|
Loading…
Reference in a new issue