Fixed a typo in getTemplateShape and added stopPropagaton when clicking enriched buttons

This commit is contained in:
WBHarry 2026-07-11 15:11:13 +02:00
parent 0fbfe388b0
commit b2ae5d788c
2 changed files with 10 additions and 9 deletions

View file

@ -58,7 +58,7 @@ export const renderMeasuredTemplate = async event => {
if (!type || !range || !game.canvas.scene) return;
const shapeData = CONFIG.Canvas.layers.regions.layerClass.getTemplateShape({
shapetype: type,
shapeType: type,
angle,
range,
direction,