showWithEffect and hideWithEffect

  • 3 Replies
  • 78 Views
showWithEffect and hideWithEffect
« on: 06 June 2019, 20:04:12 »
During showing a button with "show with effect" and interrupting the procedure with the "hide with effect", next time applying during "show the effect" alpha value never reaches 255.

Am i seeing correct?

*

texus

  • *****
  • 1411
    • View Profile
    • Texus's Blog
Re: showWithEffect and hideWithEffect
« Reply #1 on: 06 June 2019, 20:15:51 »
You are right, the value is indeed incorrectly reset. The code actually does reset the value to 255 by immediately finishing the show animation, but this happens just after the hide animation had already looked at the current alpha value.

I'll see if I can fix this tomorrow.

*

texus

  • *****
  • 1411
    • View Profile
    • Texus's Blog
Re: showWithEffect and hideWithEffect
« Reply #2 on: 07 June 2019, 13:02:41 »
This should be fixed now.

Re: showWithEffect and hideWithEffect
« Reply #3 on: 07 June 2019, 13:11:17 »
Thank you texus