So I have a screen with buttons which, when hovered by the mouse, pop up other screens as a tooltip, and hide these screens when unhovered. This always worked fine and smooth. But today I've updated Renpy to 7.4 and since then, the tooltip screens won't hide when I unhover the buttons. Can anyone explain me why? I didn't see any change regarding this in the Renpy changelog.
This is one of the buttons:
Code: Select all
imagebutton:
idle "sys/button_star.png"
hover "sys/hbutton_star.png"
xpos 265 ypos 496
action [Play("sound", "audio/hi.mp3"), Hide("l7_tooltip"), Replay("{0}bon1".format(girl.id))]
hovered Show("l7_tooltip", girl=girl, l7_img = girl.tt7)
unhovered Hide("l7_tooltip")Code: Select all
screen l7_tooltip(girl, l7_img):
$ ly = 370
add l7_img pos(233, 370) at lhover(lhy=ly)Code: Select all
transform lhover(lhy):
on show:
alpha 0 zoom 0.8 ypos lhy+10
linear .5 alpha 0 zoom 0.8 ypos lhy+10
linear .1 alpha 1.0 zoom 1.0 ypos lhy
on hide:
alpha 1.0 zoom 1.0 ypos lhy
linear .05 alpha 0 zoom 0.8 ypos lhy+10But I don't think my solution would be switching to the mousearea thing, since I have another project where the hovered and unhovered thing inside an imagebutton works perfectly fine! What can I do?
