From 0d0c9e9d03dcf40631b2185eb2cf77278e1402d2 Mon Sep 17 00:00:00 2001 From: SneezingCactus <46355725+SneezingCactus@users.noreply.github.com> Date: Fri, 10 Mar 2023 19:13:46 -0300 Subject: [PATCH] add renderer, rendererOverrides and rtl to flydown options --- block-lexical-variables/src/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/block-lexical-variables/src/index.js b/block-lexical-variables/src/index.js index 7ca56f7..425f4fb 100644 --- a/block-lexical-variables/src/index.js +++ b/block-lexical-variables/src/index.js @@ -49,7 +49,13 @@ export function init(workspace) { // TODO: Might need the next line // Blockly.DropDownDiv.createDom(); const flydown = new Flydown( - new Blockly.Options({scrollbars: false})); + new Blockly.Options({ + scrollbars: false, + rtl: workspace.RTL, + renderer: workspace.options.renderer, + rendererOverrides: workspace.options.rendererOverrides, + }) + ); // ***** [lyn, 10/05/2013] NEED TO WORRY ABOUT MULTIPLE BLOCKLIES! ***** workspace.flydown_ = flydown; Blockly.utils.dom.insertAfter(flydown.createDom('g'),