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

LibGUI: Clamp selection when drag-selecting over out of range area

This commit is contained in:
Maciej 2022-03-01 21:17:57 +01:00 committed by Andreas Kling
parent bee9cd2113
commit a95794a356
2 changed files with 21 additions and 10 deletions

View file

@ -80,6 +80,7 @@ private:
Gfx::IntRect get_outer_rect(int glyph) const;
Optional<int> glyph_at_position(Gfx::IntPoint) const;
int glyph_at_position_clamped(Gfx::IntPoint) const;
void recalculate_content_size();