mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 09:48:12 +08:00
Refresh graph view overlay if it's open when switching documents (#1691)
* Update Graph View Overlay if it is open when switching documents * Resolve comments
This commit is contained in:
@@ -1126,6 +1126,10 @@ impl DocumentMessageHandler {
|
||||
self.current_hash() == self.saved_hash
|
||||
}
|
||||
|
||||
pub fn is_graph_overlay_open(&self) -> bool {
|
||||
self.graph_view_overlay_open
|
||||
}
|
||||
|
||||
pub fn set_auto_save_state(&mut self, is_saved: bool) {
|
||||
if is_saved {
|
||||
self.auto_saved_hash = self.current_hash();
|
||||
|
||||
Reference in New Issue
Block a user