Skip to content

Commit f43cd41

Browse files
committed
perf: use native cursor rendering
1 parent 1a40e24 commit f43cd41

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ui/src/hooks/useGuacamoleClient.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,12 @@ export function useGuacamoleClient(t: any) {
282282
const displayEl = display.getElement();
283283

284284
const handleMouseEnter = () => {
285-
if (displayEl) displayEl.style.cursor = 'none';
286-
display.showCursor(true);
287285
document.body.focus();
288286
nextTick(() => {
289287
sink.focus();
290288
});
291289
};
292290
const handleMouseLeave = () => {
293-
if (displayEl) displayEl.style.cursor = 'default';
294291
nextTick(() => {
295292
keyboard.reset();
296293
});

0 commit comments

Comments
 (0)