Skip to content

Commit

Permalink
Insure that focused item always sits on top of highlighted group of f…
Browse files Browse the repository at this point in the history
…eatures
  • Loading branch information
nirvn committed Jun 24, 2023
1 parent be294f9 commit c336a0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qml/FeatureListSelectionHighlight.qml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Repeater {

visible: featureListSelectionHighlight.visible && ( !showSelectedOnly || model.featureSelected )
color: model.featureSelected ? featureListSelectionHighlight.selectedColor : selectionModel.model.selectedCount === 0 && selectionModel && model.index === selectionModel.focusedItem ? featureListSelectionHighlight.focusedColor : featureListSelectionHighlight.color
z: model.index === selectionModel.focusedItem ? 1 : 0

transform: Translate {
x: featureListSelectionHighlight.translateX
Expand Down

0 comments on commit c336a0f

Please sign in to comment.