使用已更改的CSS游标属性更新鼠标光标而不移动鼠标 [英] Update mouse cursor without moving mouse with changed CSS cursor property

查看:111
本文介绍了使用已更改的CSS游标属性更新鼠标光标而不移动鼠标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个C#主机镜像网站上的屏幕和鼠标,连接完全正常,当鼠标在主机上发生变化时,它几乎立即改变了CSS。这样我也可以镜像鼠标。

I currently have a C# host that mirrors the screen and mouse on a website, the connection works totally fine, and when the mouse changes on the host, it changes the CSS almost immediatly. This way I can mirror the mouse too.

所以这就是问题所在:

当我在客户端网站上移动鼠标时鼠标只会更新。

速度和性能在这里非常重要,快速修复会是刷新画布,或稍微移动页面/鼠标,但我宁愿采用更复杂的方法。

Speed and performance is very important here, a quick fix would be to refresh the canvas, or move the page/mouse a little bit, but I'd rather have a more sophisticated approach.

推荐答案

<你应该检查@rjmunro链接的链接中给出的答案之一,它说:

you should check one of the answers given in the link that @rjmunro linked, it says:


我相信这个问题(包括mousedown问题)现已在Chrome 50中修复。

I believe this issue (including the mousedown problem) is now fixed in Chrome 50.

但前提是你没有使用开发者工具!!

But only if you are not using the developer tools!!

关闭工具,光标应立即响应更好。

Close the tools and the cursor should immediately respond better.

刚开g来自等待的浏览器光标到汽车没有用户移动鼠标

这篇关于使用已更改的CSS游标属性更新鼠标光标而不移动鼠标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆