Skip to content

Commit

Permalink
Fixup warning
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Oct 14, 2024
1 parent 491dbc8 commit c2cf588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controls/qml/ButtonRow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Rectangle {
color: Theme.accentColor
clip: true
visible: main.currentIndex > -1
width: main.currentIndex > -1 ? rowElement.children[main.currentIndex].width : 0
x: main.currentIndex > 0 ? rowElement.children[main.currentIndex].x : 0
width: main.currentIndex ? main.currentIndex > -1 ? rowElement.children[main.currentIndex].width : 0 : 0
x: main.currentIndex ? main.currentIndex > 0 ? rowElement.children[main.currentIndex].x : 0 : 0

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

0 comments on commit c2cf588

Please sign in to comment.