From 611c46facc1e17219d9c4b9bea93f2f31535c532 Mon Sep 17 00:00:00 2001 From: Abdulkaiz Khatri <24286590+ful1e5@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:03:33 +0530 Subject: [PATCH] feat: Action Pointer Cursors are Re-designed --- .github/workflows/build.yml | 4 +- CHANGELOG.md | 1 + build.toml | 24 +++++------ svg/modern/circle.svg | 22 ++++++++--- svg/modern/context-menu.svg | 22 ++++++++--- svg/modern/copy.svg | 14 +++---- svg/modern/left_ptr_watch.svg | 24 +++++++---- svg/modern/link.svg | 22 ++++++++--- svg/modern/pointer-move.svg | 22 ++++++++--- svg/original/circle.svg | 13 +++--- svg/original/context-menu.svg | 13 +++--- svg/original/copy.svg | 25 ++++++------ svg/original/dnd_no_drop.svg | 4 +- svg/original/left_ptr_watch.svg | 15 ++++--- svg/original/link.svg | 70 ++++++++++++++++----------------- svg/original/pointer-move.svg | 13 +++--- 16 files changed, 178 insertions(+), 130 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5ee4be3..25b2e15b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,9 @@ jobs: node-version: 16 - name: Installing Node Dependencies - run: yarn install --frozen-lockfile + run: | + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile continue-on-error: false - name: Print cbmp version diff --git a/CHANGELOG.md b/CHANGELOG.md index a794bad5..d615f18b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### What's New? +- Pointer Actions Cursor is Re-Designed - The maximum size for building a cursor without losing quality is `256px`. - The XCursor package size is now approximately `20MB` in its original form and `~2MB` when compressed. - Animated cursors now have fewer frames, Fixes #134. diff --git a/build.toml b/build.toml index 7f80a72e..b634f7cf 100644 --- a/build.toml +++ b/build.toml @@ -58,22 +58,22 @@ x11_name = 'center_ptr' [cursors.circle] png = 'circle.png' -x_hotspot = 43 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 win_name = 'Unavailiable' x11_name = 'circle' x11_symlinks = ['forbidden'] [cursors.context-menu] png = 'context-menu.png' -x_hotspot = 43 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 x11_name = 'context-menu' [cursors.copy] png = 'copy.png' -x_hotspot = 43 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 x11_name = 'copy' x11_symlinks = [ "1081e37283d90000800003c07f3ef6bf", @@ -180,8 +180,8 @@ x11_symlinks = ["arrow", "default", "top_left_arrow"] [cursors.left_ptr_watch] png = 'left_ptr_watch-*.png' -x_hotspot = 44 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 win_name = 'Work' x11_name = 'left_ptr_watch' x11_symlinks = [ @@ -206,8 +206,8 @@ x11_name = 'left_tee' [cursors.link] png = 'link.png' -x_hotspot = 43 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 x11_name = 'link' x11_symlinks = [ "3085a0e285430894940527032f8b26df", @@ -255,8 +255,8 @@ x11_symlinks = ['cell'] [cursors.pointer-move] png = 'pointer-move.png' -x_hotspot = 43 -y_hotspot = 14 +x_hotspot = 42 +y_hotspot = 15 x11_name = 'pointer-move' [cursors.question_arrow] diff --git a/svg/modern/circle.svg b/svg/modern/circle.svg index 7dad39df..4c512fd8 100644 --- a/svg/modern/circle.svg +++ b/svg/modern/circle.svg @@ -1,14 +1,24 @@ - - - - - + + + + + + - + + + + + + + + + + diff --git a/svg/modern/context-menu.svg b/svg/modern/context-menu.svg index 2c0bc534..c2a0908d 100644 --- a/svg/modern/context-menu.svg +++ b/svg/modern/context-menu.svg @@ -1,14 +1,24 @@ - - - - - + + + + + + - + + + + + + + + + + diff --git a/svg/modern/copy.svg b/svg/modern/copy.svg index e1392897..7948251c 100644 --- a/svg/modern/copy.svg +++ b/svg/modern/copy.svg @@ -1,17 +1,15 @@ - + - + - - - - + + - + @@ -20,7 +18,7 @@ - + diff --git a/svg/modern/left_ptr_watch.svg b/svg/modern/left_ptr_watch.svg index 0f6c616b..57655605 100644 --- a/svg/modern/left_ptr_watch.svg +++ b/svg/modern/left_ptr_watch.svg @@ -1,12 +1,13 @@ - - - - - - + + + + + + + @@ -29,7 +30,16 @@ - + + + + + + + + + + diff --git a/svg/modern/link.svg b/svg/modern/link.svg index 0a9682c9..8605832b 100644 --- a/svg/modern/link.svg +++ b/svg/modern/link.svg @@ -1,14 +1,24 @@ - - - - - + + + + + + - + + + + + + + + + + diff --git a/svg/modern/pointer-move.svg b/svg/modern/pointer-move.svg index 93303771..ddc8d94e 100644 --- a/svg/modern/pointer-move.svg +++ b/svg/modern/pointer-move.svg @@ -1,14 +1,24 @@ - - - - - + + + + + + - + + + + + + + + + + diff --git a/svg/original/circle.svg b/svg/original/circle.svg index 5b3243de..ee441813 100644 --- a/svg/original/circle.svg +++ b/svg/original/circle.svg @@ -2,17 +2,16 @@ - + - + - - - + + - + @@ -21,7 +20,7 @@ - + diff --git a/svg/original/context-menu.svg b/svg/original/context-menu.svg index e5541bc2..6e1e44c1 100644 --- a/svg/original/context-menu.svg +++ b/svg/original/context-menu.svg @@ -2,17 +2,16 @@ - + - + - - - + + - + @@ -21,7 +20,7 @@ - + diff --git a/svg/original/copy.svg b/svg/original/copy.svg index 1a8dc7c8..4ef2808e 100644 --- a/svg/original/copy.svg +++ b/svg/original/copy.svg @@ -1,17 +1,17 @@ - - - - - - - - - + + + + + + + + + - + @@ -20,7 +20,7 @@ - + @@ -29,5 +29,8 @@ + + + diff --git a/svg/original/dnd_no_drop.svg b/svg/original/dnd_no_drop.svg index e1551646..5534f51b 100644 --- a/svg/original/dnd_no_drop.svg +++ b/svg/original/dnd_no_drop.svg @@ -6,8 +6,8 @@ - - + + diff --git a/svg/original/left_ptr_watch.svg b/svg/original/left_ptr_watch.svg index 6dadfced..0595cc39 100644 --- a/svg/original/left_ptr_watch.svg +++ b/svg/original/left_ptr_watch.svg @@ -2,14 +2,13 @@ - + - + - - - - + + + @@ -33,7 +32,7 @@ - + @@ -42,7 +41,7 @@ - + diff --git a/svg/original/link.svg b/svg/original/link.svg index 560cf949..4ff59d52 100644 --- a/svg/original/link.svg +++ b/svg/original/link.svg @@ -1,37 +1,35 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/original/pointer-move.svg b/svg/original/pointer-move.svg index bff872c1..cb14b665 100644 --- a/svg/original/pointer-move.svg +++ b/svg/original/pointer-move.svg @@ -2,17 +2,16 @@ - + - + - - - + + - + @@ -21,7 +20,7 @@ - +