Skip to content

Commit e702620

Browse files
authored
Making Grid piemenu to rotate on click (#4084)
* Update piemenus.js Making grid piemenu to rotate on changing the options as other piemenu do to create a more enhancing view. * Update piemenus.js
1 parent 3ac55f7 commit e702620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/piemenus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3628,7 +3628,7 @@ 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+
activity.turtles.gridWheel.clickModeRotate = true;
36323632
const { fill, stroke } = platformColor.gridWheelcolors.selected;
36333633
activity.turtles.gridWheel.sliceHoverAttr = { fill, stroke, "stroke-width": 2 };
36343634
activity.turtles.gridWheel.sliceSelectedAttr = { fill, stroke, "stroke-width": 2 };

0 commit comments

Comments
 (0)