Merge pull request #1684 from aignatov-bio/ai-fix-ie-zoom-out

Remove minimum zoom size
This commit is contained in:
aignatov-bio 2019-04-17 18:58:38 +02:00 committed by GitHub
commit f6c04c252e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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';