mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-20 05:34:22 +01:00
feat: onHold delete works for all devices
This commit is contained in:
@@ -92,9 +92,8 @@ function SingleDigitButton(props: {
|
||||
>
|
||||
<button
|
||||
class="font-semi font-inter flex items-center justify-center rounded-lg p-2 text-4xl text-white active:bg-m-blue disabled:opacity-50 md:hover:bg-white/10"
|
||||
onMouseDown={onHold}
|
||||
onMouseUp={endHold}
|
||||
onMouseLeave={endHold}
|
||||
onPointerDown={onHold}
|
||||
onPointerUp={endHold}
|
||||
onClick={onClick}
|
||||
>
|
||||
{props.character}
|
||||
|
||||
Reference in New Issue
Block a user