2D Toolkit Forum

2D Toolkit => Support => Topic started by: DNSavar on October 28, 2014, 12:50:22 pm

Title: A little suggestion
Post by: DNSavar on October 28, 2014, 12:50:22 pm
Hi, I can`t talk for everybody, but just a little suggestion...

I frequently enable/disable game objects when working with UI (when closing a popup, switch to another page, etc.).

So, I noticed that when a button triggered an  action that finally disables the game object containing the button, the button stay in his state pressed.

For that, I added a call to "ButtonUp()" In OnEnable() function of tk2dUIUpDownButton.cs

It is not bug itself, just a suggestion  ;).
Title: Re: A little suggestion
Post by: wagenheimer on October 28, 2014, 03:26:40 pm
+1 to this! I created a workaround for this (don't remember what), but this bothered me for a long time.
Title: Re: A little suggestion
Post by: unikronsoftware on October 28, 2014, 04:59:06 pm
I dunno, I think that might be classed as a bug? Sounds very much like one!
I've added it to the trello for the next build.