mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-28 18:52:16 +00:00
Try a more visual selection approach over the rather technical tree-based one from earlier. In this commit, a click selects the element that was rendered at the click position *last*. I use rendered loosely here: It even takes elements into account that are invisible but still cover the clicked location. A double-click punshes through to the item rendered earlier (behind) the currently selected item that also covers the clicked position. A shift-double-click moves towards the later rendered elements again, usually undoing the last double-click. |
||
|---|---|---|
| .. | ||
| assets | ||
| component-list.slint | ||
| diagnostics-overlay.slint | ||
| draw-area.slint | ||
| header-bar.slint | ||
| main.slint | ||
| resizer.slint | ||