Remove minimum zoom size

This commit is contained in:
Anton Ignatov 2019-04-17 18:51:52 +02:00
parent 7e699ce648
commit f6ecea42cf

View file

@ -289,10 +289,6 @@ var FilePreviewModal = (function() {
} else {
newWidth = parseInt(initWidth, 10) * 0.9;
newHeight = parseInt(initHeight, 10) * 0.9;
if (parseInt(imageEditorWindow.dataset.minWidth, 10) > parseInt(newWidth, 10)) {
newWidth = parseInt(imageEditorWindow.dataset.minWidth, 10);
newHeight = parseInt(imageEditorWindow.dataset.minHeight, 10);
}
}
imageEditorWindow.style.width = newWidth + 'px';
imageEditorWindow.style.height = newHeight + 'px';