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 df89421 commit 72db980Copy full SHA for 72db980
node-graph/gstd/src/render_node.rs
@@ -207,7 +207,9 @@ async fn render<'a: 'n>(
207
208
let frame = SurfaceFrame {
209
surface_id: surface_handle.window_id,
210
- resolution,
+ // TODO: Find a cleaner way to get the unscaled resolution here.
211
+ // This is done because the surface frame (canvas) is in logical pixels, not physical pixels.
212
+ resolution: footprint.resolution,
213
transform: glam::DAffine2::IDENTITY,
214
};
215
0 commit comments