MCPcopy Create free account
hub / github.com/apache/cloudstack / _handleMouseMove

Method _handleMouseMove

systemvm/agent/noVNC/core/util/cursor.js:151–158  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

149 }
150
151 _handleMouseMove(event) {
152 this._updateVisibility(event.target);
153
154 this._position.x = event.clientX - this._hotSpot.x;
155 this._position.y = event.clientY - this._hotSpot.y;
156
157 this._updatePosition();
158 }
159
160 _handleMouseUp(event) {
161 // We might get this event because of a drag operation that

Callers 1

_handleMouseOverMethod · 0.95

Calls 2

_updateVisibilityMethod · 0.95
_updatePositionMethod · 0.95

Tested by

no test coverage detected