mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
PixelPaint: Add "Clear Guides" to remove all Guides
This patch adds a "Clear Guides" option to the "View"-menu.
This commit is contained in:
parent
3548b08de2
commit
6f2a016565
2 changed files with 8 additions and 1 deletions
|
@ -45,6 +45,7 @@ public:
|
|||
{
|
||||
m_guides.remove_first_matching([&](auto& entry) { return &guide == entry.ptr(); });
|
||||
}
|
||||
void clear_guides() { m_guides.clear(); }
|
||||
|
||||
void layers_did_change();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue