window: Resize to natural on map

Only at this point we can be certain about the screen info like size an
scaling factor.
This commit is contained in:
Sophie Herold 2024-01-19 16:03:24 +01:00
parent 6992d16670
commit 171077ffc7
3 changed files with 22 additions and 5 deletions

View file

@ -80,6 +80,10 @@ impl imp::LpImage {
self.emmit_metadata_changed();
}
}
pub(super) fn image_size_available(&self) -> bool {
self.obj().image_size() > (0, 0)
}
}
impl LpImage {