Page 1 of 1

Hotspot images don't refresh until I hover

Posted: Mon Nov 14, 2022 4:10 pm
by tarsz
Hi!
I have a problem:
I have 2 hotspot images. I set, in the skin, trough visibility logic block, so that when a variable is equal to a user data, one should be hidden, and when it's not equal, the other should be hidden. (the default visibility value is true).
The variable is set when node changed.
When the variable isn't changed everything works fine. But when variable is changed, I have to hover a hotspot until the right images are shown.
I tried changing the variable "Before node change", but then it isn't working at all.
Is there a way to force a refresh after variables are set so that the right hotspot images are shown? Or any other workaround?

I have a huge project, that's why I'm not using the "custom node image" property.

Thanks in advance!

Re: Hotspot images don't refresh until I hover

Posted: Thu Nov 17, 2022 10:17 am
by Tony
Hi,

What sort of user data do you want the hotspot to react to?

Tony

Re: Hotspot images don't refresh until I hover

Posted: Mon Nov 21, 2022 2:04 pm
by tarsz
Hi!
It's solved, by using an action on ht_node, Tiles Ready, Set Element Position 0/0, and that refreshes the hotspots.