Fix artboards not being included in Export menu's bounds list (#1748)
Show artboards when exporting
This commit is contained in:
parent
6b0822d318
commit
cce1bc644e
|
|
@ -74,7 +74,7 @@ impl MessageHandler<DialogMessage, DialogMessageData<'_>> for DialogMessageHandl
|
|||
let artboards = document
|
||||
.metadata
|
||||
.all_layers()
|
||||
.filter(|&layer| is_layer_fed_by_node_of_name(layer, &document.network, "Artboard"))
|
||||
.filter(|&layer| document.metadata.is_artboard(layer))
|
||||
.map(|layer| {
|
||||
(
|
||||
layer,
|
||||
|
|
|
|||
Loading…
Reference in New Issue