Skip to content

Commit 4d2ec6b

Browse files
committed
Make sure change events for dropdown menus in resize (as well as scale) blocks detected in updateMeshFromBlock
1 parent e7caf4c commit 4d2ec6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/blockmesh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ export function updateMeshFromBlock(mesh, block, changeEvent) {
683683
flock.changeColor(mesh.name, { color });
684684
}
685685
}
686-
if (["X", "Y", "Z"].includes(changed) || (changed === "DO" && shapeType === "scale")) {
686+
if (["X", "Y", "Z"].includes(changed) || (changed === "DO" && ["scale", "resize"].includes(shapeType))) {
687687
switch (block.type) {
688688
case "rotate_to":
689689
/* The "position" X, Y and Z values are automatically picked up from the "rotate_to"

0 commit comments

Comments
 (0)