Commit d6319d73 authored by Kent Nielsen's avatar Kent Nielsen
Browse files

Hotfix resize of 1 row

parent 09b6babb
Pipeline #52991 passed with stages
in 2 minutes and 44 seconds
......@@ -305,7 +305,7 @@ export default {
resizeVertical(event, index) {
const mobileMode = window.innerWidth < 992;
if(index == 0 || this.deleting || mobileMode)
if((index == 0 && this.layout.length != 1) || this.deleting || mobileMode)
return;
const clickTarget = event.target;
......@@ -317,6 +317,9 @@ export default {
else
index--;
if(index < 0)
return;
this.mouseDragPos.y = event.y;
this.verticalResizeObject.index = index;
document.addEventListener("mousemove", this.resizeVerticalMouseMove, false);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment