mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
make pixels_per_point optional in RawInput (default 1)
This commit is contained in:
@@ -72,7 +72,7 @@ fn main() {
|
||||
let (width, height) = display.get_framebuffer_dimensions();
|
||||
vec2(width as f32, height as f32) / pixels_per_point
|
||||
},
|
||||
pixels_per_point,
|
||||
pixels_per_point: Some(pixels_per_point),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user