Commit Graph

73 Commits

Author SHA1 Message Date
Manuel Vögele fd5b439ec2 Use foundries builin function to fetch selected tokens 2021-02-16 16:04:47 +01:00
Grygon b29a687fff Add Lancer to systems.js (#21) 2021-02-11 18:36:46 +01:00
Manuel Vögele 6adb69829e Make compatible with Hex Token Size Support (resolves #12) 2021-02-11 09:06:54 +01:00
Manuel Vögele 94f5a49263 Cache canvas.controls.ruler into local variable for readability and performance 2021-02-11 00:27:11 +01:00
Manuel Vögele 2144a536ee Immediately show snapped/unsnapped measuring result when pressing/releasing shift 2021-02-08 19:02:09 +01:00
Manuel Vögele 2b66b43c55 Allow deleting of waypoints with the 'X' key (resolves #14) 2021-02-08 18:30:33 +01:00
Manuel Vögele 4bd1473310 Change ruler color on gridless maps to indecate different speeds (resolves #15) 2021-02-08 18:08:52 +01:00
Manuel Vögele 82685a1a2f Add setting to use a static color for the first speed instead of player color (resolves #10) 2021-02-08 16:27:11 +01:00
Manuel Vögele b671928ade Disable grid snapping while pressing shift (fixes #9) 2021-02-08 15:44:58 +01:00
Manuel Vögele 3d68e324f2 Apply ruler offset when determining destination after deleting a waypoint 2021-02-08 11:36:18 +01:00
Manuel Vögele c30ff10364 Remove defective un-snapping code 2021-02-08 11:27:37 +01:00
Manuel Vögele 8b69cb2f65 Allow swapping of right click and spacebar behavior (resolves #4) 2021-02-08 11:24:48 +01:00
Manuel Vögele 0647fec08f Import the wohle measure function instead of patching it (preparation for future changes) 2021-02-07 12:26:08 +01:00
Manuel Vögele 74c7d74c5a On gridless maps, always start measuring from the tokens center 2021-02-05 11:46:16 +01:00
Manuel Vögele f1542b7789 Start measuring immediately when the token is being dragged 2021-02-05 11:20:41 +01:00
Manuel Vögele 46edfa8ae6 Fix a bug where tokens wouldn't be moved to the corect end position on gridless maps 2021-02-05 00:54:09 +01:00
Manuel Vögele 4149f0e351 Fix #5: Handle installations where foundry.js has CRLF line endings gracefully 2021-02-03 00:52:59 +01:00
Manuel Vögele 5c43651925 Add option to show colors of PCs to anyone, regardless of permissions 2021-02-02 14:37:07 +01:00
Manuel Vögele 33cb9a2ba2 Only show range colors to players who have observer permissions for that token 2021-02-02 11:44:20 +01:00
Manuel Vögele c8a7352d5f Merge branch 'master' into develop 2021-02-02 11:04:18 +01:00
Manuel Vögele 633563b672 Add custom implementation of Ruler.moveToken
This allows us to move multiple tokens at a time
and allows the gm to move tokens through walls again
2021-02-02 10:52:15 +01:00
Manuel Vögele 135a3091b0 Don't show the drag ruler to players who cannot se the dragged token
As a side effect this will now also show the coloring to other players
2021-02-01 21:42:38 +01:00
Manuel Vögele 4b73cd93bf Initial commit 2021-02-01 15:34:42 +01:00