enso/app/gui/view/component-browser
Ilya Bogdanov 7251b6379b
Fix: Selection does not follow mouse when scrolling and can show half-way between entries (#3604)
[ci no changelog needed]

[Task link](https://www.pivotaltracker.com/story/show/182713338).

This PR fixes the implementation of the entries highlight (selection box) in the component list panel of the component browser. The previous behavior was caused by the dumb implementation of keeping the selection inside the borders of the component list panel. Now the selection is correctly clipped and is hovering over entries at all times.

Screencasts:


https://user-images.githubusercontent.com/6566674/182196585-02ab5ec4-7d12-4d7a-8563-ac95aec3c9f4.mp4



https://user-images.githubusercontent.com/6566674/182196768-9d28e83d-6c77-4ef6-abb0-98d50c4e74b7.mp4

# Important Notes
- This PR does not change the fact that after opening the component browser, the selection hovers over a random entry. See a [dedicated task](#182729573) for that.
- The selection box shape was moved from the `component_group` module because it depends heavily on list panel view implementation.
- The selection was removed from the `component_group` demo scene. We have a `component_list_panel_view` demo scene instead.
2022-08-05 12:44:21 +00:00
..
component-group Fix: Selection does not follow mouse when scrolling and can show half-way between entries (#3604) 2022-08-05 12:44:21 +00:00
searcher-list-panel Fix: Selection does not follow mouse when scrolling and can show half-way between entries (#3604) 2022-08-05 12:44:21 +00:00
src Component list panel integration (#3530) 2022-07-14 12:00:52 +00:00
Cargo.toml Component list panel integration (#3530) 2022-07-14 12:00:52 +00:00