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

PixelPaint: ImageEditor scaling method

Moved the code on mousewheel_event to its own function.
This commit is contained in:
lucastarche 2021-03-22 14:33:30 -03:00 committed by Andreas Kling
parent ca49f96b78
commit 3947d301e5
2 changed files with 26 additions and 18 deletions

View file

@ -63,6 +63,8 @@ public:
Layer* layer_at_editor_position(const Gfx::IntPoint&);
void scale_centered_on_position(const Gfx::IntPoint&, float);
Color primary_color() const { return m_primary_color; }
void set_primary_color(Color);