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:
0HyperCube
2022-12-28 20:19:50 +00:00
committed by Keavon Chambers
co-authored by Keavon Chambers
parent b408bef14b
commit 3bce11edb5
3 changed files with 6 additions and 1 deletions
@@ -24,7 +24,9 @@ impl MessageHandler<OverlaysMessage, (bool, &FontCache, &InputPreprocessorMessag
},
// Messages
ClearAllOverlays => todo!(),
ClearAllOverlays => {
self.overlays_document = DocumentLegacy::default();
}
Rerender =>
// Render overlays
{