Skip to content

Commit

Permalink
Fixed users page scrolling and password field text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed May 31, 2018
1 parent af82a81 commit 6d11791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slice/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ Rectangle
id: scrollMouseArea
anchors.fill: parent
propagateComposedEvents: true
enabled: root.state != "stateUsers" || !pageUsers.hasLoginShown
onWheel:
{
switch (root.state)
Expand All @@ -316,7 +317,7 @@ Rectangle
break

case "stateUsers":
if (!pagePower.hasLoginShown)
if (!pageUsers.hasLoginShown)
{
if (wheel.pixelDelta.y < 0)
pageUsers.scroll_up()
Expand Down
1 change: 1 addition & 0 deletions slice/PageUsers.qml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ Item

echoMode: TextInput.Password
clip: true
selectByMouse: true

font
{
Expand Down

0 comments on commit 6d11791

Please sign in to comment.