1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

LibGUI: Take scroll offset into account on ItemView rubberband selection

Same kind of issue as #1271.
This commit is contained in:
Tibor Nagy 2020-03-12 15:42:43 +01:00 committed by Andreas Kling
parent ee5a49e2fe
commit b58893cfe1
2 changed files with 16 additions and 5 deletions

View file

@ -46,6 +46,7 @@ public:
void set_model_column(int column) { m_model_column = column; }
virtual ModelIndex index_at_event_position(const Gfx::Point&) const override;
Gfx::Point adjusted_position(const Gfx::Point&) const;
virtual void select_all() override;
private: