March 8, 2020 at 5:03 pm #85928
I have vector buttons that are set to a 1% opacity in Photoshop so that they are rendered completely transparent in the app. The buttons are set to be hidden when clicked on and for the duration of the animations they trigger, then are unhidden at the end of animation. This worked fine in Kwik 3, but now when they are unhidden, they are displayed at 100% opacity making them opaque rather than transparent.March 8, 2020 at 9:46 pm #85930
Return to start after play not work?
I tested it and it worked with my test case. Can you send your .kwk file to email@example.com ?March 8, 2020 at 11:12 pm #85932
That’s not what I am doing. Here is a link to an example project that shows the problem:
https://www.dropbox.com/s/hgub6tbzpju2sfn/buttonTest.zip?dl=0March 9, 2020 at 7:53 am #85934
The bug is in tmplt/commands/kwik/layerAction.lua. I will update the tmplt in a couple of days and let you know the update build of kwik.
You can just comment out the line 18 like below.
Thank you for reporting the bug.March 9, 2020 at 2:46 pm #85936
Thank you. I also had to address it further down at lines 36 and 37:
if toggles then
if obj.alpha == 0 then
obj.alpha = obj.oldAlpha
obj.alpha = 0
if hides then
obj.oldAlpha = 1 <—36
obj.alpha = 0 <—37
obj.alpha = 0
March 10, 2020 at 2:15 am #85941
- This reply was modified 1 year, 8 months ago by firstname.lastname@example.org.
You must be logged in to reply to this topic.