Skip to content

Commit

Permalink
Merge pull request #72 from neochapay/master
Browse files Browse the repository at this point in the history
[ButtonRow] Fixup selector on start
  • Loading branch information
locusf authored Feb 19, 2019
2 parents a2c1c7f + 42c958a commit a28ec1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controls/qml/ButtonRow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Rectangle {
color: Theme.accentColor
clip: true
visible: main.currentIndex > -1
width: main.currentIndex > -1 ? rowElement.children[main.currentIndex].width : 0
x: rowElement.children[main.currentIndex].x

Behavior on x {
NumberAnimation { duration: 200; easing.type: Easing.OutCubic}
Expand Down

0 comments on commit a28ec1a

Please sign in to comment.