Fix: Layout "Auto" is considered as "Freeform" (montage.js)

This commit is contained in:
IgorA100 authored and GitHub committed 2024-05-21 23:12:33 +03:00
1 parent f6281d82d0
commit ada2f2dc0f
1 file changed
+1
+1
View File
@@ -49,6 +49,7 @@ var defaultPresetRatio = 'auto';
var averageMonitorsRatio;
function isPresetLayout(name) {
name = (name == "Auto") ? "Freeform" : name;
return ((ZM_PRESET_LAYOUT_NAMES.indexOf(name) != -1) ? true : false);
}