1
Fork 0
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:
Tobias Christiansen 2021-09-10 17:41:28 +02:00 committed by Andreas Kling
parent 3548b08de2
commit 6f2a016565
2 changed files with 8 additions and 1 deletions

View file

@ -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();