dont punish rampant zoomers too much

This commit is contained in:
RossAscends
2023-07-05 00:41:39 +09:00
parent 83d954246f
commit b994dbb2d1

View File

@@ -1131,8 +1131,9 @@ $(document).ready(() => {
const winWidth = window.innerWidth;
const winHeight = window.innerHeight;
console.debug(`Zoom: ${zoomLevel}, X:${winWidth}, Y:${winHeight}`);
resetMovablePanels('resize');
if (Object.keys(power_user.movingUIState).length > 0) {
resetMovablePanels('resize');
}
// Adjust layout and styling here
});