editor.md icon indicating copy to clipboard operation
editor.md copied to clipboard

点击事件判断错误

Open silencelog opened this issue 8 years ago • 1 comments

surface设备(可点击屏幕设备),判断成touch事件,但是用鼠标点击是click事件,所以点toolbar没有触发事件 try { document.createEvent("TouchEvent"); eventType = touchEventType; } catch(e) {}

silencelog avatar Jan 24 '18 03:01 silencelog

我说怎么我用surface鼠标点击一点用都没有。。而直接用笔点击却有效。。

Yangrunhu avatar Jan 29 '18 03:01 Yangrunhu