leaky-ships/frontend/src/interfaces.ts
aronmal 83f187a7dc
Finished targetPreview
Reverted back to react logic instead of scss logic and improved performance by partially showing the preview icon instead of letting it follow the mouse directly.
2022-08-14 02:37:58 +02:00

10 lines
No EOL
195 B
TypeScript

export interface TargetPreviewType {
newX: number,
newY: number,
shouldShow: boolean,
appearOK: boolean,
eventReady: boolean,
show: boolean,
x: number,
y: number
}