-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This re-adds a patch for capitaine-cursors that adds a 1.75x scale option. This is to work around the fact that the cursor sizes seem to have decreased in R4. There is also an branch `adjust-sizes` that might fix this. See: keeferrourke/capitaine-cursors#42
- Loading branch information
1 parent
73f83af
commit a9e5d18
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff --git a/build.sh b/build.sh | ||
index 731d2a6..c25c54d 100755 | ||
--- a/build.sh | ||
+++ b/build.sh | ||
@@ -10,7 +10,7 @@ PLATFORMS=('unix' 'win32') | ||
BUILD_DIR=$PWD/_build | ||
SPECS="$SRC/config" | ||
ALIASES="$SRC/cursor-aliases" | ||
-SIZES=('1' '1.25' '1.5' '2' '2.5' '3' '4' '5' '6' '10') | ||
+SIZES=('1' '1.25' '1.5' '1.75' '2' '2.5' '3' '4' '5' '6' '10') | ||
DPIS=('lo' 'tv' 'hd' 'xhd' 'xxhd' 'xxxhd') | ||
SVG_DIM=24 | ||
SVG_DPI=96 | ||
@@ -25,19 +25,19 @@ function set_sizes { | ||
max_size="$1" | ||
case $max_size in | ||
lo) | ||
- SIZES=("${SIZES[@]:0:3}") | ||
+ SIZES=("${SIZES[@]:0:4}") | ||
;; | ||
tv) | ||
- SIZES=("${SIZES[@]:0:4}") | ||
+ SIZES=("${SIZES[@]:0:5}") | ||
;; | ||
hd) | ||
- SIZES=("${SIZES[@]:0:5}") | ||
+ SIZES=("${SIZES[@]:0:6}") | ||
;; | ||
xhd) | ||
- SIZES=("${SIZES[@]:0:6}") | ||
+ SIZES=("${SIZES[@]:0:7}") | ||
;; | ||
xxhd) | ||
- SIZES=("${SIZES[@]:0:7}") | ||
+ SIZES=("${SIZES[@]:0:8}") | ||
;; | ||
xxxhd) | ||
SIZES=("${SIZES[@]}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ capitaine-cursors }: | ||
|
||
capitaine-cursors.overrideAttrs | ||
(old: { patches = (old.patches or [ ]) ++ [ ./0001-add-1-75x-size.patch ]; }) |