mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint cursors types.
This commit is contained in:
parent
606c9337bb
commit
54bcbd6333
@ -1,8 +1,20 @@
|
||||
import { CursorImage } from './webrtc'
|
||||
|
||||
export type CursorDrawFunction = (ctx: CanvasRenderingContext2D, x: number, y: number, cursorElement: HTMLImageElement, cursorImage: CursorImage, cursorTag: string) => void
|
||||
export type CursorDrawFunction = (
|
||||
ctx: CanvasRenderingContext2D,
|
||||
x: number,
|
||||
y: number,
|
||||
cursorElement: HTMLImageElement,
|
||||
cursorImage: CursorImage,
|
||||
cursorTag: string,
|
||||
) => void
|
||||
|
||||
export type InactiveCursorDrawFunction = (ctx: CanvasRenderingContext2D, x: number, y: number, cursorTag: string) => void
|
||||
export type InactiveCursorDrawFunction = (
|
||||
ctx: CanvasRenderingContext2D,
|
||||
x: number,
|
||||
y: number,
|
||||
cursorTag: string,
|
||||
) => void
|
||||
|
||||
export interface Dimension {
|
||||
width: number
|
||||
|
Loading…
Reference in New Issue
Block a user