Hey there
after upgrading the latest version of hxelectron I'm getting the following error:
Science.js:7539 Uncaught TypeError: Cannot read property 'TouchBarButton' of undefined
It seems to be a result of electron.main.TouchBar, in particular where jsRequire is being used with the second param being TouchBar.TouchBarButton
eg:
@:jsRequire("electron", "TouchBar.TouchBarButton") extern class TouchBarButton {
and as seem once compiled to js
var electron_main_TouchBarButton = require("electron").TouchBar.TouchBarButton;
Deleting the TouchBar extern resolves the issue, but it would be good to have an official.. Any ideas on how to resolve?
Hey there
after upgrading the latest version of hxelectron I'm getting the following error:
Science.js:7539 Uncaught TypeError: Cannot read property 'TouchBarButton' of undefined
It seems to be a result of electron.main.TouchBar, in particular where jsRequire is being used with the second param being TouchBar.TouchBarButton
eg:
and as seem once compiled to js
Deleting the TouchBar extern resolves the issue, but it would be good to have an official.. Any ideas on how to resolve?