mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-08 14:10:41 -06:00
fix: new desktop height calculation when resizing browser window
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user