allow topbar overlap during MUI element resizing

c53803730a498688303802a6cb9716ad58ac14ad

RossAscends <rossascendshamma@gmail.com>

1 files changed, +3 -3Ignore whitespace
public/scripts/RossAscends-mods.js+3 -3
@@ -570,9 +570,9 @@ export function dragElement($elmnt) {
570 if (top + $elmnt.height() >= winHeight) $elmnt.css('height', winHeight - top - 1 + 'px');570 if (top + $elmnt.height() >= winHeight) $elmnt.css('height', winHeight - top - 1 + 'px');
571 if (left + $elmnt.width() >= winWidth) $elmnt.css('width', winWidth - left - 1 + 'px');571 if (left + $elmnt.width() >= winWidth) $elmnt.css('width', winWidth - left - 1 + 'px');
572 }572 }
573 if (top < topBarLastY && maxX >= topBarFirstX && left <= topBarFirstX) {573 //if (top < topBarLastY && maxX >= topBarFirstX && left <= topBarFirstX) {
574 $elmnt.css('width', width - 1 + 'px');574 // $elmnt.css('width', width - 1 + 'px');
575 }575 // }
576 $elmnt.css({ left, top });576 $elmnt.css({ left, top });
577 $elmnt.off('mouseup').on('mouseup', () => {577 $elmnt.off('mouseup').on('mouseup', () => {
578 if (578 if (