Add api endpoint to determine the distance that a token has moved already
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ export class DragRulerRuler extends Ruler {
|
||||
}
|
||||
}
|
||||
|
||||
dragRulerGetRaysFromWaypoints(waypoints, destination) {
|
||||
static dragRulerGetRaysFromWaypoints(waypoints, destination) {
|
||||
if ( destination )
|
||||
waypoints = waypoints.concat([destination]);
|
||||
return waypoints.slice(1).map((wp, i) => {
|
||||
|
||||
Reference in New Issue
Block a user