Skip to content

Commit c6bbc15

Browse files
committed
chore(website): regenerate recreation data for the new cursor hotspots
cbf85dc re-rasterized the default cursor sprites at 256 px instead of 128, with a new crop, and moved their hotspots. The recreation's hotspots follow, and so do the three sprites the site ships (byte copies of the old ones) and the arrow hotspot the stylesheet repeats as its fallback.
1 parent f7fe890 commit c6bbc15

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎website/src/components/Recreation/generated.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -608,21 +608,21 @@ export const CURSORS = {
608608
{
609609
id: "default",
610610
name: "Default",
611-
hotspotX: 0.119,
612-
hotspotY: 0.0874,
611+
hotspotX: 0.1205,
612+
hotspotY: 0.0881,
613613
src: "/img/cursors/00-arrow.png",
614614
},
615615
],
616616
pointer: {
617617
name: "Default",
618-
hotspotX: 0.3893,
618+
hotspotX: 0.3874,
619619
hotspotY: 0.0032,
620620
src: "/img/cursors/mac-pointer.png",
621621
},
622622
text: {
623623
name: "Default",
624-
hotspotX: 0.4375,
625-
hotspotY: 0.5333,
624+
hotspotX: 0.4355,
625+
hotspotY: 0.5369,
626626
src: "/img/cursors/mac-text.png",
627627
},
628628
} as const;

‎website/src/components/Recreation/styles.module.css‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,15 @@
207207
--shot-bounce: 1;
208208
/* The default arrow's hotspot, CURSORS.themes[0] as a percentage: the
209209
recorded pointer wears no other pack. */
210-
--shot-hx: 11.9;
211-
--shot-hy: 8.74;
210+
--shot-hx: 12.05;
211+
--shot-hy: 8.81;
212212
--page-y: -8;
213213
--ui-x: 20;
214214
--ui-y: 45;
215215
--ui-bounce: 1;
216216
--ui-on: 0;
217-
--ui-hx: 11.9;
218-
--ui-hy: 8.74;
217+
--ui-hx: 12.05;
218+
--ui-hy: 8.81;
219219
--zooms-placed: 3;
220220
--speed-placed: 1;
221221
--panel: 1;
1.46 KB
Loading
3 KB
Loading
2 KB
Loading

0 commit comments

Comments
 (0)