Sie sind nicht angemeldet.

1

Mittwoch, 3. Februar 2021, 11:32

Not working tooltips_mapspots in ver 1.20.9

If I set true for tootips mapspots in 1.20.9 - not working:
https://www.virtualczech.cz/krpano1209/


was working in version 1.20.5 :
https://www.virtualczech.cz/krpano1205/


Marty

2

Mittwoch, 3. Februar 2021, 11:33

yes. i think this is a "bug" in the vtourskin.... i reported it already

as a temp fix you can try to adjust vtourskin.xml :
(remove addevent in this style)

Quellcode

1
2
3
4
5
6
7
8
	<!-- skin_tooltip - style for the thumb, hotspot and mapspot tooltips -->
	<style name="skin_tooltips"
	       onover.mouse="copy(layer[skin_tooltip].html, tooltip);
	                     set(layer[skin_tooltip].visible, calc(webvr.isenabled ? false : true));
	                     tween(layer[skin_tooltip].alpha, 1.0, 0.1);
	                     asyncloop(hovering, copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );"
	       onout.mouse="tween(layer[skin_tooltip].alpha, 0.0, 0.1, default, set(layer[skin_tooltip].visible,false), copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );"
	       />

3

Mittwoch, 3. Februar 2021, 12:31

THANKS A LOT !
yes. i think this is a "bug" in the vtourskin.... i reported it already

as a temp fix you can try to adjust vtourskin.xml :
(remove addevent in this style)

[code]

4

Donnerstag, 4. Februar 2021, 10:40

Hi,

yes, this is an unexpected behavior of the 'addevent' usage, which was added to the vtourskin.xml in version 1.20.8.

Here another workaround - search in the vtourskin.xml for these lines:

Zitat

txtadd(layer[skin_map].spot[get(spotname)].onover, 'set(hovering,true);', get(style[skin_tooltips].onover) );
txtadd(layer[skin_map].spot[get(spotname)].onout, 'set(hovering,false);', get(style[skin_tooltips].onout) );


and change them to this:

Zitat

txtadd(layer[skin_map].spot[get(spotname)].onover, 'set(hovering,true);', get(style[skin_tooltips].onover:addevent) );
txtadd(layer[skin_map].spot[get(spotname)].onout, 'set(hovering,false);', get(style[skin_tooltips].onout:addevent) );


In the next krpano release the vtourskin.xml will be fixed of course.

Best regards,
Klaus

5

Donnerstag, 4. Februar 2021, 16:15

Thanks, Klaus .

orca.cl

Anfänger

Beiträge: 7

Wohnort: Chile

Beruf: Graphic Design

  • Nachricht senden

6

Dienstag, 11. Januar 2022, 23:43

If I set true for tootips mapspots in 1.20.9 - not working:
https://www.virtualczech.cz/krpano1209/


was working in version 1.20.5 :
https://www.virtualczech.cz/krpano1205/


Marty


I'm sorry to post something else but I must say that I really loved your 360 tour. *thumbsup*

I was looking for the same answer and it was already resolved.
Graphic Designer, Photographer and Self Taught Web Developer.
I know I'm an unicorn. thumbsup