From ccb2a76a18b3fa71e0f24c11be9ed0b1b3653a13 Mon Sep 17 00:00:00 2001 From: Aidan Y Date: Wed, 4 Sep 2024 16:02:13 -0700 Subject: [PATCH] Removed cursor on app_icon hover --- .DS_Store | Bin 10244 -> 10244 bytes index.html | 8 ++++---- script.js | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.DS_Store b/.DS_Store index 1c23897667dd2c8e80cc717e64914201861698c5..2663a3b731ac895f89a2768cf289858a3cf669c8 100644 GIT binary patch delta 59 zcmZn(XbIS$C_LF;tW?Cv$XG|g*vPn6N1@u%$UsNI#KL0o4Kd@%2Zf|Je-q~C+03r+ Pi)FH+#G}m*MHQI<7IPA| delta 57 zcmV-90LK4>P=rvhArk?%lOhvw2o`&LF)Sc7Gn360907=vx)UD(iId - - - - + + + + diff --git a/script.js b/script.js index 1f7b63d..78e2b4e 100644 --- a/script.js +++ b/script.js @@ -195,6 +195,15 @@ for (let i = 0; i < app_icon_no_sound.length; i++) { app_icon_no_sound[i].tabIndex = 0; } +//no cursor on icons +for (let i = 0; i < app_icon.length; i++) { + app_icon[i].style.cursor = "none"; +} + +for (let i = 0; i < app_icon_scroll.length; i++) { + app_icon_scroll[i].style.cursor = "none"; +} + // prevent right click document.addEventListener("contextmenu", (event) => { event.preventDefault();