window: Adjust to image size when opening
Give LpImage a native with that should feel nice. When opening a new window with a new image the window size is determined by LpImage's natural width. The image size and EXIF data is loaded before the image such that the window can be shown in the right dimension while loading the actual image.
This commit is contained in:
parent
68221bacba
commit
e04992b46d
12 changed files with 389 additions and 79 deletions
|
|
@ -2,9 +2,12 @@
|
|||
name = "loupe"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.65"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.66"
|
||||
async-global-executor = "2.3.1"
|
||||
async-std = "1.12.0"
|
||||
gtk-macros = "0.3.0"
|
||||
kamadak-exif = "0.5.5"
|
||||
log = "0.4.17"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue