Fix use of PX_PER_MM

This commit is contained in:
mars 2022-11-15 17:12:04 -07:00
parent f192983319
commit a925d6b94d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ impl PanelWindow {
self.current_size = size;
let size = canary::Vec2::new(size.x, size.y);
self.panel.on_resize(size / PX_PER_MM);
self.panel.on_resize(size * PX_PER_MM);
}
if let Some(hover_pos) = response.hover_pos() {