Skip to content

Commit

Permalink
Fix overlaid buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 9, 2021
1 parent f1a98ef commit bac7371
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qml/NavigationBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ Rectangle {

anchors.left: parent.left

width: ( parent.state != "Edit" ? 48: 0 )
width: parent.state == "Navigation" ? 48: 0
height: 48
clip: true

iconSource: Theme.getThemeIcon( "ic_chevron_left_white_24dp" )

enabled: ( parent.state != "Edit" )
enabled: ( parent.state == "Navigation" )

onClicked: {
if ( toolBar.model && ( selection.focusedItem > 0 ) ) {
Expand Down Expand Up @@ -370,7 +370,7 @@ Rectangle {
height: 48
clip: true

iconSource: Theme.getThemeIcon( "ic_clear_white_24dp" )
iconSource: Theme.getThemeVectorIcon( 'ic_arrow_left_white_24dp' )

enabled: ( toolBar.multiSelection && toolBar.model )

Expand Down

0 comments on commit bac7371

Please sign in to comment.