正在加载视频...

视频加载失败

Ok guys, hear me out. Act on Both.

56,807 次观看 • 2 年前 •via X (Twitter)

10 条评论

Justin Jacobs 的头像
Justin Jacobs2 年前

The final evolution is the "Acted" pattern: Perform the action on initialization. Then when the user interacts with the button, inform them that the action already occured and there is no need to click the button.

LXP 的头像
LXP2 年前

Act on press is great if the action is low risk. Sometimes giving the user an easy out by letting them hold and slide away from a touch button to not execute the action is useful, especially in texting when you notice a mistake

Nicolás Danelón 0xFFFF 的头像
Nicolás Danelón 0xFFFF2 年前

as a react developer I love this "act on both"

Autobahn 的头像
Autobahn2 年前

No. I am the idiot. What the hells going on here?

Bach Le 的头像
Bach Le2 年前

Hold to talk is a thing 🤷‍♂️

Caleb Figgers 的头像
Caleb Figgers2 年前

Act on bug

Palmer 的头像
Palmer2 年前

bro invented "press and hold"

Oliver 的头像
Oliver2 年前

if you didn’t want two actions why did you press and release your mouse button silly user 💻

Demonix 的头像
Demonix2 年前

Windows is very good at Act on None

furtive pygmy (parody) 💨 的头像
furtive pygmy (parody) 💨2 年前

👁️ quake's input system used floats for edge and level triggering, buttons were half down for one frame