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
commit 3947d301e5
Notes: sideshowbarker 2024-07-18 21:08:12 +09:00
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);