mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 09:48:13 +08:00
Exporting (#1495)
This commit is contained in:
@@ -93,7 +93,7 @@ impl MessageHandler<DialogMessage, DialogData<'_>> for DialogMessageHandler {
|
||||
self.export_dialog = ExportDialogMessageHandler {
|
||||
scale_factor: 1.,
|
||||
artboards,
|
||||
has_selection: document.selected_layers().next().is_some(),
|
||||
has_selection: document.metadata().selected_layers().next().is_some(),
|
||||
..Default::default()
|
||||
};
|
||||
self.export_dialog.send_dialog_to_frontend(responses);
|
||||
|
||||
Reference in New Issue
Block a user