editor: remove 30px min height

This commit is contained in:
jean-emmanuel 2017-07-16 22:41:19 +02:00
parent 3a8e11bd48
commit 49f3c51b0a
2 changed files with 1 additions and 2 deletions

View file

@ -244,7 +244,7 @@ var editObject = function(container, data, refresh){
ui.size.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH * PXSCALE
},
stop: function( event, ui ) {
if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,30)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH
if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-s')) data.height = Math.round((Math.max(ui.size.height,1)) / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH
if (handleTarget.hasClass('ui-resizable-se') || handleTarget.hasClass('ui-resizable-e')) data.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH
updateDom(container,data)
},

View file

@ -344,7 +344,6 @@
}
.ui-helper {
min-height:30rem!important;
z-index: 12!important;
opacity: 1!important;
&:before {