Home / Topic / Old alpha setting not restored

Old alpha setting not restored

Home Kwiksher Forums Kwik4 Old alpha setting not restored

Viewing 6 posts - 1 through 6 (of 6 total)
  • #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.

    Yamamoto
    Keymaster
    #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 support@kwiksher.com ?

    #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=0

    Yamamoto
    Keymaster
    #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.

    #85936

    Thank you. I also had to address it further down at lines 36 and 37:

    else
    if toggles then
    if obj.alpha == 0 then
    obj.alpha = obj.oldAlpha
    else
    obj.alpha = 0
    end
    else
    if hides then
    obj.oldAlpha = 1 <—36
    obj.alpha = 0 <—37
    else
    obj.alpha = 0
    end
    end

    Yamamoto
    Keymaster
    #85941

    Thank you the review. I reflected it to the latest tmplt folder.

    http://kwiksher.com/daily/Kwik4_win_2020_0310.zip
    http://kwiksher.com/daily/Kwik4_mac_2020_0310.dmg

    4.3.1
    FIX: component view refreshes with the selection of SearchKind
    FIX: action layer Hide/Unhide to retain original alpha

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.