Makeblock-official / mBlock

base on scratch offline v2.0 by MIT, Learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v2.0
319 stars 228 forks source link

Presentation Mode not working on Linux Ubuntu #70

Open chatelgu opened 7 years ago

chatelgu commented 7 years ago

Clicking on the presentation mode button on Linux Ubuntu does not open the scene in fullscreen nor hide the edition panels.

line 1 from  : flash error:Error: TypeError: _app.fullscreen is not a function
    at flash.external::ExternalInterface$/_toAS()
    at flash.external::ExternalInterface$/call()
    at util::JsUtil$/Call()
    at util::JsUtil$/callApp()
    at MBlock/setPresentationMode()
    at Function/toggleFullscreen()
    at uiwidgets::IconButton/mouseDown()

Looks like the flash method is showFullscreen and not fullscreen