mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Inactive cursors proper clearing (#7)
* extract canvasDrawPoints and use new_last_points. * lint fix. * canvasDrawPoints default percent 1,
This commit is contained in:
@ -10,7 +10,7 @@ export function getMovementXYatPercent(p: Point[], percent: number): Point {
|
||||
const len = p.length
|
||||
if (len == 0) {
|
||||
console.error('getMovementXYatPercent: no points specified');
|
||||
return { x:0, y:0 }
|
||||
return { x:0, y:0 }
|
||||
}
|
||||
|
||||
if (len == 1) return p[0]
|
||||
|
Reference in New Issue
Block a user