We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 576e144 commit bf059c5Copy full SHA for bf059c5
src/addons/addons/editor-colored-context-menus/userscript.js
@@ -17,6 +17,7 @@ export default async function ({ addon, console }) {
17
widgetDiv.classList.add("sa-contextmenu-colored");
18
widgetDiv.style.setProperty("--sa-contextmenu-bg", fill);
19
widgetDiv.style.setProperty("--sa-contextmenu-border", border);
20
+ if (block.textColour) widgetDiv.style.setProperty("--sa-contextmenu-text", block.textColour);
21
};
22
23
const originalHandleRightClick = ScratchBlocks.Gesture.prototype.handleRightClick;
0 commit comments