Skip to content

Commit

Permalink
just moved the filterlist touch area so it catches hover from the button
Browse files Browse the repository at this point in the history
  • Loading branch information
szecket committed Dec 13, 2024
1 parent f6da11e commit 5f8c88e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/lsp/ui/components/selection-popup.slint
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ component FilterList inherits Rectangle {
} else if (lcb.checked && icb.checked && ocb.checked) {
return SelectionStackFilter.Everything;
}

return SelectionStackFilter.Nothing;
}

out property <bool> has-filter: !lcb.checked || !icb.checked || !ocb.checked;

border-color: Palette.border;
Expand All @@ -39,6 +37,9 @@ component FilterList inherits Rectangle {
background: Palette.alternate-background;

TouchArea {
y: - EditorSpaceSettings.default-padding;
height: parent.height + EditorSpaceSettings.default-padding * 2;

// Just block events from reaching other TouchAreas!
}

Expand Down

0 comments on commit 5f8c88e

Please sign in to comment.