(target)
| 225 | } |
| 226 | |
| 227 | _updateVisibility(target) { |
| 228 | // When the cursor target has capture we want to show the cursor. |
| 229 | // So, if a capture is active - look at the captured element instead. |
| 230 | if (this._captureIsActive()) { |
| 231 | target = document.captureElement; |
| 232 | } |
| 233 | if (this._shouldShowCursor(target)) { |
| 234 | this._showCursor(); |
| 235 | } else { |
| 236 | this._hideCursor(); |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | _updatePosition() { |
| 241 | this._canvas.style.left = this._position.x + "px"; |
no test coverage detected