소스 검색

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 달 전
부모
커밋
b0efff7a4f
2개의 변경된 파일262개의 추가작업 그리고 210개의 파일을 삭제
  1. 257 210
      src/gui/src/UI/UIDesktop.js
  2. 5 0
      src/gui/src/css/style.css

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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;
 }

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.