mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 07:38:12 +08:00
Allow the user to force clear any stuck overlays (#922)
Force clear overlays Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
b408bef14b
commit
3bce11edb5
@@ -24,7 +24,9 @@ impl MessageHandler<OverlaysMessage, (bool, &FontCache, &InputPreprocessorMessag
|
||||
},
|
||||
|
||||
// Messages
|
||||
ClearAllOverlays => todo!(),
|
||||
ClearAllOverlays => {
|
||||
self.overlays_document = DocumentLegacy::default();
|
||||
}
|
||||
Rerender =>
|
||||
// Render overlays
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user