Kaynağa Gözat

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 1 ay önce
ebeveyn
işleme
b0efff7a4f
2 değiştirilmiş dosya ile 262 ekleme ve 210 silme
  1. 257 210
      src/gui/src/UI/UIDesktop.js
  2. 5 0
      src/gui/src/css/style.css

Dosya farkı çok büyük olduğundan ihmal edildi
+ 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;
 }

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor