.
This commit is contained in:
+1
-1
@@ -668,7 +668,7 @@ export default function RobotDashboard() {
|
|||||||
<button
|
<button
|
||||||
onPointerDown={() => { touchStateRef.current.throttle = -1; }}
|
onPointerDown={() => { touchStateRef.current.throttle = -1; }}
|
||||||
onPointerUp={() => { touchStateRef.current.throttle = 0; }}
|
onPointerUp={() => { touchStateRef.current.throttle = 0; }}
|
||||||
onPointerLeave={() => { touchStateRef.current.throttle = 1; }}
|
onPointerLeave={() => { touchStateRef.current.throttle = 0; }}
|
||||||
className="w-20 h-16 md:w-24 md:h-20 bg-red-600/50 active:bg-red-500 flex items-center justify-center rounded-t-xl border-b border-red-800/30 backdrop-blur-sm transition-colors"
|
className="w-20 h-16 md:w-24 md:h-20 bg-red-600/50 active:bg-red-500 flex items-center justify-center rounded-t-xl border-b border-red-800/30 backdrop-blur-sm transition-colors"
|
||||||
>
|
>
|
||||||
<svg className="w-8 h-8 md:w-10 md:h-10 text-white/80 pointer-events-none" fill="currentColor" viewBox="0 0 24 24"><path d="M5 15l7-7 7 7H5z"/></svg>
|
<svg className="w-8 h-8 md:w-10 md:h-10 text-white/80 pointer-events-none" fill="currentColor" viewBox="0 0 24 24"><path d="M5 15l7-7 7 7H5z"/></svg>
|
||||||
|
|||||||
Reference in New Issue
Block a user