Skip to content

Commit 6431e6b

Browse files
authored
default back to white
1 parent 78fb573 commit 6431e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/addons/addons/editor-colored-context-menus/userscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default async function ({ addon, console }) {
1717
widgetDiv.classList.add("sa-contextmenu-colored");
1818
widgetDiv.style.setProperty("--sa-contextmenu-bg", fill);
1919
widgetDiv.style.setProperty("--sa-contextmenu-border", border);
20-
if (block.textColour) widgetDiv.style.setProperty("--sa-contextmenu-text", block.textColour);
20+
widgetDiv.style.setProperty("--sa-contextmenu-text", block.textColour ?? "#fff");
2121
};
2222

2323
const originalHandleRightClick = ScratchBlocks.Gesture.prototype.handleRightClick;

0 commit comments

Comments
 (0)