From e7a52aecde025e00f8df46d77d516809f4e0c180 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 25 Sep 2025 20:53:28 -0400 Subject: [PATCH] Put a lower limit of 10% on scale --- web/skins/classic/views/montage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/montage.php b/web/skins/classic/views/montage.php index d0ce8c4e5..fb56c5191 100644 --- a/web/skins/classic/views/montage.php +++ b/web/skins/classic/views/montage.php @@ -375,7 +375,6 @@ foreach ($monitors as $monitor) { $zmBrowserSizes = jsonDecode($_COOKIE['zmBrowserSizes']); $browser_width = validInt($zmBrowserSizes['innerWidth']); if (!$browser_width) $browser_width = 1920; - } if (!$scale and ($layout->Name() != 'Auto')) { if ($layout_is_preset) { @@ -391,6 +390,7 @@ foreach ($monitors as $monitor) { # Custom, default to 25% of 1920 for now, because 25% of a 4k is very different from 25% of 640px $monitor_options['scale'] = intval(100*(($browser_width/4)/$monitor->Width())); if ($monitor_options['scale'] > 100) $monitor_options['scale'] = 100; + if ($monitor_options['scale'] < 10) $monitor_options['scale'] = 10; } echo $monitor->getStreamHTML($monitor_options); }