mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +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
Notes:
sideshowbarker
2024-07-18 04:19:06 +09:00
Author: https://github.com/TobyAsE
Commit: 6f2a016565
Pull-request: https://github.com/SerenityOS/serenity/pull/9939
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/awesomekling
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