Skip to content

Commit

Permalink
increasing the size of chord pie menu (#4060)
Browse files Browse the repository at this point in the history
to enchance the viewer's experience
  • Loading branch information
omsuneri authored Nov 16, 2024
1 parent d58d3ae commit 2459733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/piemenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,7 @@ const piemenuChords = (block, selectedChord) => {
docById("wheelDiv").style.display = "";

// the chord selector
block._chordWheel = new wheelnav("wheelDiv", null, 800, 800);
block._chordWheel = new wheelnav("wheelDiv", null, 1000, 1000);
block._exitWheel = new wheelnav("_exitWheel", block._chordWheel.raphael);

const chordLabels = [];
Expand Down Expand Up @@ -2468,7 +2468,7 @@ const piemenuChords = (block, selectedChord) => {
const canvasTop = block.activity.canvas.offsetTop + 6 * block.blocks.blockScale;

docById("wheelDiv").style.position = "absolute";
setWheelSize(300);
setWheelSize(400);
docById("wheelDiv").style.left =
Math.min(
block.blocks.turtles._canvas.width - 300,
Expand Down

0 comments on commit 2459733

Please sign in to comment.