Skip to content

Commit

Permalink
fix(SeedWidget): move direction initial value definition
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley authored and floryst committed Sep 12, 2023
1 parent 42b51d5 commit 1a19b42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Widgets/Widgets3D/SeedWidget/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default function widgetBehavior(publicAPI, model) {

const moveHandle = model.widgetState.getMoveHandle();
moveHandle.setVisible(true);
moveHandle.setDirection([0, 0, 1]);
model._isDragging = false;
model.previousPosition = null;

Expand Down
1 change: 1 addition & 0 deletions Sources/Widgets/Widgets3D/SeedWidget/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default function stateGenerator() {
initialValues: {
scale1: 20,
visible: true,
direction: [0, 0, 1],
},
})
.build();
Expand Down

0 comments on commit 1a19b42

Please sign in to comment.