MultiButton icon indicating copy to clipboard operation
MultiButton copied to clipboard

[fix]修复 `短按->长按` 按键操作误触发按下事件

Open i-jaffer opened this issue 2 years ago • 1 comments

问题描述:

  1. 当按键按以下顺序按下时: 短按 -> 长按,handle->state 的值 0 -> 1 -> 2 -> 0 -> 1,会多触发一次 EVENT_CB(PRESS_DOWN); 事件回调,实际不需要,handle->state 的正确状态应该为 0 -> 1 -> 2 -> 1

i-jaffer avatar Feb 28 '23 14:02 i-jaffer

感谢提交修复!

0x1abin avatar Nov 17 '23 07:11 0x1abin