mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00:00
PixelPaint: ImageEditor scaling method
Moved the code on mousewheel_event to its own function.
This commit is contained in:
parent
ca49f96b78
commit
3947d301e5
Notes:
sideshowbarker
2024-07-18 21:08:12 +09:00
Author: https://github.com/lucastarche 🔰
Commit: 3947d301e5
Pull-request: https://github.com/SerenityOS/serenity/pull/5914
2 changed files with 26 additions and 18 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue