1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

PaintBrush: Use draw_line() when drawing continuously.

This commit is contained in:
Andreas Kling 2019-06-10 19:35:24 +02:00
parent 6aa4cb6740
commit 642c82fbff
2 changed files with 15 additions and 3 deletions

View file

@ -15,5 +15,6 @@ private:
virtual void mouseup_event(GMouseEvent&) override;
virtual void mousemove_event(GMouseEvent&) override;
Point m_last_drawing_event_position { -1, -1 };
RetainPtr<GraphicsBitmap> m_bitmap;
};