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
commit b58893cfe1
Notes: sideshowbarker 2024-07-19 08:20:46 +09:00
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: