Flyout Always Visible?

205 views
Skip to first unread message

Fabian Deitelhoff

unread,
Dec 14, 2017, 1:10:06 PM12/14/17
to Blockly

I've searched here and the google group but haven't found an answer:


Is it possible to show the flyout area the whole time? Basically it shouldn't be a flyout anymore. :)


I'm using Blockly with eye-tracking and if the flyout is above user generated code it is hard to distinguish those areas within the eye tracking data.


Thanks

Neil Fraser

unread,
Dec 14, 2017, 2:12:31 PM12/14/17
to blo...@googlegroups.com
There are two approaches.  One is to not have any categories.  Here's an example:
  https://blockly-demo.appspot.com/static/demos/fixed/index.html
Documentation is here:
  https://developers.google.com/blockly/guides/configure/web/toolbox

However, if you need categories, there's a hidden bit you can set.  Go to this page:
And in the console type:
  demoWorkspace.toolbox_.flyout_.autoClose = false
This approach is not officially supported.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages