move from comments init css zoom and finder desktop
This commit is contained in:
parent
61cbf717c3
commit
da8af8222d
@ -20,14 +20,11 @@ class WebDesktopEnvironment{
|
|||||||
static Applications = {};
|
static Applications = {};
|
||||||
static isMobile = false
|
static isMobile = false
|
||||||
constructor(){
|
constructor(){
|
||||||
// WebDesktopEnvironment.Open("finder", ["/home/user", "desktop", document.querySelector('#desktop-layer')])
|
// WebDesktopEnvironment.isMobile = WebDesktopEnvironment.CheckMobile()
|
||||||
//TODO create key -desktop-mode
|
document.body.style.setProperty('--zoom', 1)
|
||||||
|
|
||||||
|
|
||||||
this.wc = new WindowsCompositor()
|
this.wc = new WindowsCompositor()
|
||||||
this.loadWDE()
|
this.loadWDE()
|
||||||
return
|
return
|
||||||
// WebDesktopEnvironment.isMobile = WebDesktopEnvironment.CheckMobile()
|
|
||||||
|
|
||||||
// let applications = document.createElement("div")
|
// let applications = document.createElement("div")
|
||||||
// applications.setAttribute('id', 'applications')
|
// applications.setAttribute('id', 'applications')
|
||||||
@ -66,7 +63,6 @@ class WebDesktopEnvironment{
|
|||||||
})
|
})
|
||||||
|
|
||||||
} else{
|
} else{
|
||||||
document.body.style.setProperty('--zoom', 1)
|
|
||||||
|
|
||||||
// let desktopLayer = document.createElement("div")
|
// let desktopLayer = document.createElement("div")
|
||||||
// desktopLayer.setAttribute('id', 'desktop-layer')
|
// desktopLayer.setAttribute('id', 'desktop-layer')
|
||||||
|
Loading…
Reference in New Issue
Block a user