Update toolbox with continuous-toolbox plugin

165 views
Skip to first unread message

Samuel Alvarez

unread,
Jan 28, 2022, 6:17:04 AM1/28/22
to Blockly
Hello, 
Before I started using the continuous-toolbox plugin I could update the toolbox once I moved a block into the workspace. 
Now the updated function doesn't work cause the toolbox is always open. 
Any help on what function can I use to disable and allow blocks depending on which ones I live to the workspace.
Thanks you vey much.

Beka Westberg

unread,
Jan 28, 2022, 1:11:58 PM1/28/22
to blo...@googlegroups.com
Hello!

Were you using dynamic categories before? If so, have you tried using updateFlyoutContents() when you want the category to refresh? If that doesn't work, you could also try using the updateToolbox function.

I hope that gives you some places to start! If you have any further questions please reply!
--Beka

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/4fff14f6-8470-45ed-bb19-9ab11f016904n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages