1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

LibGUI: Implement the virtual ListView::scroll_into_view()

Instead of shadowing the one from AbstractView.
This commit is contained in:
Andreas Kling 2020-09-01 17:29:02 +02:00
parent 04507e288f
commit a56360f787
2 changed files with 8 additions and 7 deletions

View file

@ -45,7 +45,7 @@ public:
int horizontal_padding() const { return m_horizontal_padding; }
void scroll_into_view(const ModelIndex&, Orientation);
virtual void scroll_into_view(const ModelIndex& index, bool scroll_horizontally, bool scroll_vertically) override;
Gfx::IntPoint adjusted_position(const Gfx::IntPoint&) const;