Open LuisBonsembiante opened 6 years ago
Do you know if it has ever worked that way?
I dont know but must be...if you need change the frameName in dynamic way is a bad design.
No, it has never worked like this. Button frames should be linked to input events really, so if the button is re-enabled AND the pointer isn’t over it, only then should it change the frame.
ok thanks I will change the framename manually if states change
I think it's a good idea, I just think it needs to check both things (enabled + over) before changing frame.
Thanks @photonstorm your awesome
Hi guys, Hi @photonstorm .. I have an issue for this....I implemented the solution but the button doesnt refresh the frame inmediately.. the refresh happen in some opportunities whe I move de pointer... I dont know what is the bug...could you help me?.
Hi guys any thought about this?....thanks in advance. @photonstorm
I found the error, I just replaced element.input.enabled
for element.inputEnabled