Browse Source

feat: show/hide desktop icons option in context menu

* feat: hide icons/show icons feature added to the right-click/secondary click menu on the desktop

* Fix: Changes made to the hide/show desktop icons feature after receiving feedback in the first pull request

* CSS rule added to static CSS file instead of being implemented dynamically
hisham-maarraoui 2 months ago
parent
commit
b0efff7a4f
2 changed files with 262 additions and 210 deletions
  1. 257 210
      src/gui/src/UI/UIDesktop.js
  2. 5 0
      src/gui/src/css/style.css

File diff suppressed because it is too large
+ 257 - 210
src/gui/src/UI/UIDesktop.js


+ 5 - 0
src/gui/src/css/style.css

@@ -4718,4 +4718,9 @@ fieldset[name=number-code] {
 }
 .device-phone .window-body.item-container * {
     touch-action: pan-y;
+}
+
+/* Hide desktop icons when the desktop-icons-hidden class is applied */
+.desktop.item-container.desktop-icons-hidden > .item {
+    visibility: hidden;
 }

Some files were not shown because too many files changed in this diff