Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

chore(website): regenerate recreation data for the new cursor hotspots

EtienneLescotf313d83ead57
diff --git a/website/src/components/Recreation/generated.ts b/website/src/components/Recreation/generated.ts
index 0d999045c..5da6a46b1 100644
--- a/website/src/components/Recreation/generated.ts
+++ b/website/src/components/Recreation/generated.ts
@@ -608,21 +608,21 @@ export const CURSORS = {
{
id: "default",
name: "Default",
- hotspotX: 0.119,
- hotspotY: 0.0874,
+ hotspotX: 0.1205,
+ hotspotY: 0.0881,
src: "/img/cursors/00-arrow.png",
},
],
pointer: {
name: "Default",
- hotspotX: 0.3893,
+ hotspotX: 0.3874,
hotspotY: 0.0032,
src: "/img/cursors/mac-pointer.png",
},
text: {
name: "Default",
- hotspotX: 0.4375,
- hotspotY: 0.5333,
+ hotspotX: 0.4355,
+ hotspotY: 0.5369,
src: "/img/cursors/mac-text.png",
},
} as const;
diff --git a/website/src/components/Recreation/styles.module.css b/website/src/components/Recreation/styles.module.css
index cd46c48cf..a377bdd29 100644
--- a/website/src/components/Recreation/styles.module.css
+++ b/website/src/components/Recreation/styles.module.css
@@ -207,15 +207,15 @@
--shot-bounce: 1;
/* The default arrow's hotspot, CURSORS.themes[0] as a percentage: the
recorded pointer wears no other pack. */
- --shot-hx: 11.9;
- --shot-hy: 8.74;
+ --shot-hx: 12.05;
+ --shot-hy: 8.81;
--page-y: -8;
--ui-x: 20;
--ui-y: 45;
--ui-bounce: 1;
--ui-on: 0;
- --ui-hx: 11.9;
- --ui-hy: 8.74;
+ --ui-hx: 12.05;
+ --ui-hy: 8.81;
--zooms-placed: 3;
--speed-placed: 1;
--panel: 1;
diff --git a/website/static/img/cursors/00-arrow.png b/website/static/img/cursors/00-arrow.png
index 85998081e..2dd2686e5 100644
Binary files a/website/static/img/cursors/00-arrow.png and b/website/static/img/cursors/00-arrow.png differ
diff --git a/website/static/img/cursors/mac-pointer.png b/website/static/img/cursors/mac-pointer.png
index a89d388bf..60b12be56 100644
Binary files a/website/static/img/cursors/mac-pointer.png and b/website/static/img/cursors/mac-pointer.png differ
diff --git a/website/static/img/cursors/mac-text.png b/website/static/img/cursors/mac-text.png
index 27a5e5ef9..1d4acdb82 100644
Binary files a/website/static/img/cursors/mac-text.png and b/website/static/img/cursors/mac-text.png differ