File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/app/(main)/community/events Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const ACTIVE_TRANSITION_MS = 100
5353 * Per-frame damping factor (scaled by dt / (1/60s)).
5454 * Decrease value to increase damping.
5555 */
56- const INERTIA_DAMPING = 0.87
56+ const INERTIA_DAMPING = 0.92
5757/** Reference frame time in milliseconds for the damping exponent. */
5858const INERTIA_BASE_DT = 1000 / 60
5959/** Velocities below this normalized threshold snap directly to zero. */
@@ -536,9 +536,12 @@ class MapEngine implements MapHandle {
536536 if ( ! this . pointer . active || event . pointerId !== this . pointer . id ) return
537537 this . pointer . active = false
538538 this . canvas . releasePointerCapture ( event . pointerId )
539+ this . canvas . style . cursor = "default"
539540 this . pointer . lastMoveTime = 0
540541 if ( event . type === "pointerup" ) {
541542 this . updateHoveredMarkerFromClient ( event . clientX , event . clientY )
543+ } else {
544+ this . updateCursor ( )
542545 }
543546 }
544547
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ export function MeetupsMap() {
158158 onPointerMove = { handlePointerMove }
159159 onPointerLeave = { handlePointerLeave }
160160 onClick = { handleMapClick }
161- style = { { cursor : activeMeetup ? "pointer" : "default" } }
162161 >
163162 < canvas
164163 ref = { canvasRef }
You can’t perform that action at this time.
0 commit comments