1
0
Fork 0

[UI] Added scale keybinds.

This commit is contained in:
NamedKitten 2018-11-30 16:57:29 +00:00
parent 79493a1cba
commit ea40440d72

View file

@ -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 {