File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,18 @@ Kirigami.Page {
105105 // onTriggered: viewport.overlay.toggle()
106106 tooltip: qsTr (" Change reading region placement" , " Reading region indicates where a talent should be reading from" )
107107
108+ Kirigami .Action {
109+ id: readRegionBarsButton
110+ text: qsTr (" Bars" , " Configure reading region pointer indicators" )
111+ checkable: true
112+ checked: parseInt (overlay .styleState )> ReadRegionOverlay .PointerStates .Pointers
113+ onTriggered: {
114+ if (parseInt (overlay .styleState )> ReadRegionOverlay .PointerStates .Pointers )
115+ overlay .styleState = parseInt (overlay .styleState ) - 4 ;
116+ else
117+ overlay .styleState = parseInt (overlay .styleState ) + 4 ;
118+ }
119+ }
108120 Kirigami .Action {
109121 id: readRegionTopButton
110122 icon .name : " go-up"
@@ -298,18 +310,6 @@ Kirigami.Page {
298310 viewport .prompter .restoreFocus ()
299311 }
300312 }
301- Kirigami .Action {
302- id: readRegionBarsButton
303- text: qsTr (" Bars" , " Configure reading region pointer indicators" )
304- checkable: true
305- checked: parseInt (overlay .styleState )> ReadRegionOverlay .PointerStates .Pointers
306- onTriggered: {
307- if (parseInt (overlay .styleState )> ReadRegionOverlay .PointerStates .Pointers )
308- overlay .styleState = parseInt (overlay .styleState ) - 4 ;
309- else
310- overlay .styleState = parseInt (overlay .styleState ) + 4 ;
311- }
312- }
313313 },
314314 Kirigami .Action {
315315 id: timerButton
You can’t perform that action at this time.
0 commit comments