move from comments init css zoom and finder desktop

This commit is contained in:
cyber-dream 2023-05-10 01:18:54 +03:00
parent 61cbf717c3
commit da8af8222d

View File

@ -20,14 +20,11 @@ class WebDesktopEnvironment{
static Applications = {};
static isMobile = false
constructor(){
// WebDesktopEnvironment.Open("finder", ["/home/user", "desktop", document.querySelector('#desktop-layer')])
//TODO create key -desktop-mode
// WebDesktopEnvironment.isMobile = WebDesktopEnvironment.CheckMobile()
document.body.style.setProperty('--zoom', 1)
this.wc = new WindowsCompositor()
this.loadWDE()
return
// WebDesktopEnvironment.isMobile = WebDesktopEnvironment.CheckMobile()
// let applications = document.createElement("div")
// applications.setAttribute('id', 'applications')
@ -66,7 +63,6 @@ class WebDesktopEnvironment{
})
} else{
document.body.style.setProperty('--zoom', 1)
// let desktopLayer = document.createElement("div")
// desktopLayer.setAttribute('id', 'desktop-layer')