claude
This commit is contained in:
parent
47603c058e
commit
c074bc2645
1 changed files with 178 additions and 148 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { settings } from 'shared';
|
||||
import { pointer } from './helper/pointer';
|
||||
import { getDisplayPosition } from './helper/pointer';
|
||||
|
||||
let root: HTMLElement | undefined;
|
||||
let killfeed: HTMLElement | undefined;
|
||||
|
|
@ -20,7 +20,7 @@ function ensureRoot(): { root: HTMLElement; killfeed: HTMLElement } {
|
|||
}
|
||||
|
||||
function focusPoint(): { x: number; y: number } {
|
||||
const cursor = pointer.displayPosition;
|
||||
const cursor = getDisplayPosition();
|
||||
if (cursor) {
|
||||
return { x: cursor[0], y: cursor[1] };
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue