diff --git a/src/app/system-apps/desktop/desktop.component.css b/src/app/system-apps/desktop/desktop.component.css index 7107c47b..173db0f2 100644 --- a/src/app/system-apps/desktop/desktop.component.css +++ b/src/app/system-apps/desktop/desktop.component.css @@ -105,7 +105,6 @@ figure{ align-items: center; display:inline-flex; min-width: 18px; - min-width: 18px; } img{ diff --git a/src/app/system-apps/desktop/desktop.component.html b/src/app/system-apps/desktop/desktop.component.html index f172c366..4b47c7ed 100644 --- a/src/app/system-apps/desktop/desktop.component.html +++ b/src/app/system-apps/desktop/desktop.component.html @@ -40,7 +40,7 @@
-
+
Show desktop icons
diff --git a/src/app/system-apps/desktop/desktop.component.ts b/src/app/system-apps/desktop/desktop.component.ts index 5a3832da..a7817e59 100644 --- a/src/app/system-apps/desktop/desktop.component.ts +++ b/src/app/system-apps/desktop/desktop.component.ts @@ -89,7 +89,6 @@ export class DesktopComponent implements OnInit, OnDestroy, AfterViewInit{ } ngOnInit():void{ -1 this._vantaEffect = VANTA.WAVES({ el: '#vanta', color:this._numSequence, @@ -216,6 +215,11 @@ export class DesktopComponent implements OnInit, OnDestroy, AfterViewInit{ this._fileManagerServices.refreshNotify.next(); } + showDesktopIcon():void{ + this.showDesktopIcons = !this.showDesktopIcons + this._fileManagerServices.showDesktopIconsNotify.next(this.showDesktopIcons); + } + previousBackground():void{ if(this.CURRENT_DESTOP_NUM > this.MIN_NUMS_OF_DESKTOPS){ this.CURRENT_DESTOP_NUM --; diff --git a/src/app/system-apps/filemanager/filemanager.component.css b/src/app/system-apps/filemanager/filemanager.component.css index 4ce6f1f1..31590092 100644 --- a/src/app/system-apps/filemanager/filemanager.component.css +++ b/src/app/system-apps/filemanager/filemanager.component.css @@ -121,7 +121,7 @@ span.tail{ padding-left: 78px; } -.figure-cntx-menu{ +.figure-cntxt-menu{ align-items: center; display:inline-flex; min-width: 18px;