Make the toggle overlays button functional (#484)

* Make the toggle overlays button functional

* Move state from the OverlaysMessageHandler to DocumentMessageHandler

* Code review fixes
This commit is contained in:
Keavon Chambers
2022-01-16 09:40:47 -08:00
parent 10205ef599
commit 94ecbf7112
7 changed files with 35 additions and 17 deletions

View File

@@ -91,6 +91,9 @@ pub enum DocumentMessage {
SetOpacityForSelectedLayers {
opacity: f64,
},
SetOverlaysVisibility {
visible: bool,
},
SetSelectedLayers {
replacement_selected_layers: Vec<Vec<LayerId>>,
},