mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Properly show document bar on initialization (#535)
* properly show document bar * updated comments
This commit is contained in:
@@ -781,7 +781,7 @@ impl MessageHandler<DocumentMessage, &InputPreprocessorMessageHandler> for Docum
|
||||
}
|
||||
}
|
||||
ExportDocument => {
|
||||
// TODO(MFISH33): Add Dialog to select artboards
|
||||
// TODO(mfish33): Add Dialog to select artboards
|
||||
let bbox = self.document_bounds().unwrap_or_else(|| [DVec2::ZERO, ipp.viewport_bounds.size()]);
|
||||
let size = bbox[1] - bbox[0];
|
||||
let name = match self.name.ends_with(FILE_SAVE_SUFFIX) {
|
||||
|
||||
Reference in New Issue
Block a user