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:
parent
6992d16670
commit
171077ffc7
3 changed files with 22 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue