Skip to content

Commit 052d1d7

Browse files
authored
Update piemenus.js
Making grid piemenu to rotate on changing the options as other piemenu do to create a more enhancing view.
1 parent 3ac55f7 commit 052d1d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/piemenus.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3628,7 +3628,8 @@ const piemenuGrid = (activity) => {
36283628
activity.turtles.gridWheel.sliceSelectedPathCustom = activity.turtles.gridWheel.slicePathCustom;
36293629
activity.turtles.gridWheel.sliceInitPathCustom = activity.turtles.gridWheel.slicePathCustom;
36303630
activity.turtles.gridWheel.animatetime = 0; // 300;
3631-
activity.turtles.gridWheel.clickModeRotate = false;
3631+
// making grid pie menu rotates while changing the grid options
3632+
activity.turtles.gridWheel.clickModeRotate = true;
36323633
const { fill, stroke } = platformColor.gridWheelcolors.selected;
36333634
activity.turtles.gridWheel.sliceHoverAttr = { fill, stroke, "stroke-width": 2 };
36343635
activity.turtles.gridWheel.sliceSelectedAttr = { fill, stroke, "stroke-width": 2 };

0 commit comments

Comments
 (0)