Hello Guest

Author Topic: A little suggestion  (Read 3109 times)

DNSavar

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
A little suggestion
« 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  ;).

wagenheimer

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Re: A little suggestion
« Reply #1 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: A little suggestion
« Reply #2 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.
« Last Edit: October 28, 2014, 05:01:23 pm by unikronsoftware »