generated from tipragot/rust
Add a generic hover system #93
|
@ -29,7 +29,7 @@ pub fn change_scaling(
|
|||
size: Res<UILayoutSize>,
|
||||
) {
|
||||
let window = windows.get_single().expect("Main window not found");
|
||||
if window.resolution.physical_height() <= 0 {
|
||||
if window.resolution.physical_height() == 0 {
|
||||
return;
|
||||
};
|
||||
let (a, b) = (
|
||||
|
|
Loading…
Reference in a new issue