mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08:00
fix: new desktop height calculation when resizing browser window
This commit is contained in:
parent
8fabf014a9
commit
a295420f58
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user