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.
This commit is contained in:
parent
c837e0df2f
commit
83f187a7dc
4 changed files with 149 additions and 105 deletions
10
frontend/src/interfaces.ts
Normal file
10
frontend/src/interfaces.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export interface TargetPreviewType {
|
||||
newX: number,
|
||||
newY: number,
|
||||
shouldShow: boolean,
|
||||
appearOK: boolean,
|
||||
eventReady: boolean,
|
||||
show: boolean,
|
||||
x: number,
|
||||
y: number
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue