We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb856e commit fcf32b3Copy full SHA for fcf32b3
1 file changed
editor/src/node_graph_executor.rs
@@ -201,7 +201,7 @@ impl NodeGraphExecutor {
201
ExportBounds::Artboard(id) => document.metadata().bounding_box_document(id),
202
}
203
.ok_or_else(|| "No bounding box".to_string())?;
204
- let resolution = (bounds[1] - bounds[0]).as_uvec2();
+ let resolution = (bounds[1] - bounds[0]).round().as_uvec2();
205
let transform = DAffine2::from_translation(bounds[0]).inverse();
206
207
let render_config = RenderConfig {
0 commit comments