mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 19:08:05 +08:00
Properly show document bar on initialization (#535)
* properly show document bar * updated comments
This commit is contained in:
@@ -525,6 +525,12 @@ impl JsEditorHandle {
|
||||
let message = DocumentMessage::ZoomCanvasToFitAll;
|
||||
self.dispatch(message);
|
||||
}
|
||||
|
||||
// TODO(mfish33): Replace with initialization system Issue:#524
|
||||
pub fn init_document_bar(&self) {
|
||||
let message = PortfolioMessage::UpdateDocumentBar;
|
||||
self.dispatch(message)
|
||||
}
|
||||
}
|
||||
|
||||
// Needed to make JsEditorHandle functions pub to rust. Do not fully
|
||||
|
||||
Reference in New Issue
Block a user