fix: new desktop height calculation when resizing browser window

This commit is contained in:
jelveh 2025-01-09 16:15:32 -08:00
parent 8fabf014a9
commit a295420f58

View File

@ -171,7 +171,7 @@ $( window ).on( "resize", function() {
if(window.a_window_is_resizing) return;
if(window.a_window_sidebar_is_resizing) return;
const new_desktop_height = window.innerHeight - window.toolbar_height - window.taskbar_height - 6;
const new_desktop_height = window.innerHeight - window.toolbar_height - window.taskbar_height;
const new_desktop_width = window.innerWidth;
$('.window').each((_, el) => {