Skip to content

Commit

Permalink
Fix disappearing progress bar when zoom is 1
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Dec 9, 2018
1 parent 4a4ff54 commit 39ddc9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qml/pages/MainPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ Page {
ProgressBar{
anchors.horizontalCenter: parent.horizontalCenter
width: page.width/2
maximumValue: 3
minimumValue: 1
maximumValue: 3.0
minimumValue: 0.9
value:Math.floor(pinchArea.zoomTmp===-1?10*game.zoom:10*pinchArea.zoomTmp)/10
}
}
Expand Down

0 comments on commit 39ddc9f

Please sign in to comment.