Skip to content

Commit

Permalink
Fixed issue #160, QPrompt set styleState to an invalid text value at …
Browse files Browse the repository at this point in the history
…startup
  • Loading branch information
Cuperino committed Mar 5, 2023
1 parent 6f18a85 commit 38d9c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prompter/ReadRegionOverlay.qml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Item {
property alias enabled: readRegion.enabled
property bool disableOverlayContrast: false
property string positionState: ReadRegionOverlay.PositionStates.Middle
property string styleState: Qt.application.layoutDirection===Qt.LeftToRight ? "barsLeft" : "barsRight"
property string styleState: Qt.application.layoutDirection===Qt.LeftToRight ? ReadRegionOverlay.PointerStates.BarsLeft : ReadRegionOverlay.PointerStates.BarsRight
function toggleLinesInRegion(reverse) {
const minSize = 2,
maxSize = 5;
Expand Down

0 comments on commit 38d9c72

Please sign in to comment.