Skip to content
Snippets Groups Projects
Unverified Commit a335cb45 authored by John's avatar John Committed by GitHub
Browse files

Merge pull request #100 from StarArawn/fix-image-dpi

Fixed DPI issue for images.
parents cc457351 0de4d851
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ pub fn extract_images(
vec![ExtractQuadBundle {
extracted_quad: ExtractedQuad {
rect: Rect {
min: Vec2::new(layout.posx, layout.posy),
min: Vec2::new(layout.posx, layout.posy) * dpi,
max: Vec2::new(layout.posx + layout.width, layout.posy + layout.height) * dpi,
},
color: Color::WHITE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment