swat0284 Posted September 20, 2015 Share Posted September 20, 2015 Hello when i create group by:group = new CASTORGUI.GUIGroup("group",{x: 0, y: 0},guisystem);group.add(guiButtonColor1);i try to hide it:group.setVisible(false);and i get this error: [Error] TypeError: null is not an object (evaluating 'el.style')fadeOut (castorGUI.min.js, line 1)setVisible (castorGUI.min.js, line 1)createGUI (main.js, line 165) // group.setVisible(true); Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 20, 2015 Share Posted September 20, 2015 I'll see to correct this Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 20, 2015 Share Posted September 20, 2015 Ok, it's corrected. Quote Link to comment Share on other sites More sharing options...
swat0284 Posted September 20, 2015 Author Share Posted September 20, 2015 But it wont work Quote Link to comment Share on other sites More sharing options...
Dad72 Posted September 20, 2015 Share Posted September 20, 2015 You must re-download the file in dist /. CastorGUI.min.js => https://github.com/dad72/CastorGUI/tree/master/distI tested and it works on my demo. Also try to empty your cache. Quote Link to comment Share on other sites More sharing options...
swat0284 Posted September 20, 2015 Author Share Posted September 20, 2015 HAH it works. Tank You my friend Dad72 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.