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

PixelPaint: Minimize clone tool sample marker repaints

This removes 2 FIXMEs :^)
This commit is contained in:
Tim Ledbetter 2023-02-23 18:14:59 +00:00 committed by Jelle Raaijmakers
parent 19b3d40ad2
commit 9f75c2b075
2 changed files with 34 additions and 14 deletions

View file

@ -32,6 +32,8 @@ protected:
private:
virtual StringView tool_name() const override { return "Clone Tool"sv; }
Optional<Gfx::IntRect> sample_marker_rect();
void update_sample_marker(Optional<Gfx::IntRect> old_rect);
RefPtr<GUI::Widget> m_properties_widget;