mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 23:43:37 +02:00
.
This commit is contained in:
parent
152e364225
commit
957d4f9e03
2 changed files with 3 additions and 6 deletions
|
|
@ -122,10 +122,8 @@ export default class DhRegionLayer extends foundry.canvas.layers.RegionLayer {
|
|||
const shapeWidth = type === line.id ? 5 * dimensionConstant : type === rectangle.id ? length : undefined;
|
||||
const shapeType = type === inFront.id ? cone.id : type;
|
||||
|
||||
const { width, height } = game.canvas.scene.dimensions;
|
||||
return {
|
||||
x: width / 2,
|
||||
y: height / 2,
|
||||
...canvas.mousePosition,
|
||||
base: {
|
||||
type: 'token',
|
||||
x: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue