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

This commit is contained in:
IgorA100
2024-05-21 23:12:33 +03:00
committed by GitHub
parent f6281d82d0
commit ada2f2dc0f

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);
}