mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
PixelPaint: Add Zoom Reset button to new View Menubar.
If you lose your image while panning and zooming around, it is handy to have a reset function to get back home. :^)
This commit is contained in:
parent
223472c57f
commit
b48b8c372e
3 changed files with 18 additions and 0 deletions
|
@ -64,6 +64,7 @@ public:
|
|||
Layer* layer_at_editor_position(const Gfx::IntPoint&);
|
||||
|
||||
void scale_centered_on_position(const Gfx::IntPoint&, float);
|
||||
void reset_scale_and_position();
|
||||
|
||||
Color primary_color() const { return m_primary_color; }
|
||||
void set_primary_color(Color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue