MoegirlPediaInterfaceCodes icon indicating copy to clipboard operation
MoegirlPediaInterfaceCodes copied to clipboard

外部链接提示在触摸屏上使用鼠标点击时无法合理判断

Open gui-ying233 opened this issue 3 months ago • 0 comments

见我上一条的参考实现,应当在每次点击时通过pointerType判断。实际上,即使支持触屏,用户也可能使用鼠标或数位笔来点击。例如,我的电脑上navigator.maxTouchPoints等于10,但我大部分时间都是使用鼠标点击的;我还可能看心情在插着鼠标时拿手指点击。再比如,其他用户可能在平板上用鼠标或触摸板浏览网页。

因此,此处的判断应删掉。

Originally posted by @AmeroHan in https://github.com/MoegirlPediaInterfaceAdmins/MoegirlPediaInterfaceCodes/pull/639#discussion_r2083295995

基于这个理由,或许触屏黑幕优化不仅适用于MoeSkin,还适用于Vector。

Originally posted by @AmeroHan in https://github.com/MoegirlPediaInterfaceAdmins/MoegirlPediaInterfaceCodes/pull/639#discussion_r2083296846

gui-ying233 avatar Sep 15 '25 23:09 gui-ying233