image: Occupy 40% instead of 30% screen area

Closes #272
This commit is contained in:
Sophie Herold 2024-01-19 16:42:49 +01:00
parent aa3e517a1b
commit 0d060f6790

View file

@ -115,11 +115,11 @@ const MAX_ZOOM_LEVEL: f64 = 20.0;
/// The thumbnail is currently used for drag and drop.
const THUMBNAIL_SIZE: f32 = 128.;
/// For large enough monitors occupy 30% of the screen area when opening window with image
const DEFAULT_OCCUPY_SCREEN: f64 = 0.3;
/// For large enough monitors occupy 40% of the screen area when opening window with image
const DEFAULT_OCCUPY_SCREEN: f64 = 0.4;
/// Screens with this resolution or smaller are handles as small
const SMALL_SCREEN_AREA: f64 = 1024. * 768.;
const SMALL_SCREEN_AREA: f64 = 1280. * 1024.;
/// For small monitors occupy 80% of the screen area
const SMALL_OCCUPY_SCREEN: f64 = 0.8;