Add a generic hover system #93

Merged
raphael merged 4 commits from hover-system into main 2024-03-31 22:18:42 +00:00
Showing only changes of commit 24963c6b78 - Show all commits

View file

@ -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) = (