|
@@ -79,7 +79,15 @@
|
|
|
txtadd(line,'<div style="background-color: ',get(borderColor),';width:1px;height:80px;"></div>');
|
|
|
copy(hotspot[get(hsp_name)].html,line);
|
|
|
<!-- txtadd(hotspot[get(hsp_name)].onloaded,"add_tooltip_label();add_tooltip_dot();"); -->
|
|
|
- if(isShowLine == 1, set_label_dir(get(hsp_name),get(lineDirection),0););
|
|
|
+ if(isShowLine == 1,
|
|
|
+ txtadd(tooltipname, 'tooltip_', get(hsp_name));
|
|
|
+ txtadd(tooltipdot, 'tooldot_', get(hsp_name));
|
|
|
+ set(hotspot[get(hsp_name)].visible,false);
|
|
|
+ set(layer[get(tooltipname)].visible,false);
|
|
|
+ set(layer[get(tooltipdot)].visible,false);
|
|
|
+
|
|
|
+ set_label_dir(get(hsp_name),get(lineDirection),0);
|
|
|
+ );
|
|
|
|
|
|
if(isShowLine == 0,
|
|
|
txtadd(tooltipname, 'tooltip_', get(hsp_name));
|
|
@@ -149,7 +157,6 @@
|
|
|
</action>
|
|
|
|
|
|
<action name="add_tooltip_label">
|
|
|
- showlog();
|
|
|
txtadd(tooltipname, 'tooltip_', get(name));
|
|
|
|
|
|
txtsplit(hotspotStyle,'|',fontSize,pos,isHover,borderColor,fillColor,textColor,isShowLine,isTextWrap,lineDirection,textDirection,textNumPerLine,duration,frameNumber);
|
|
@@ -342,6 +349,10 @@
|
|
|
if(get(dir)==2,set(layer[get(dirItem)].x,0);set(layer[get(dirItem)].y,-40););
|
|
|
|
|
|
);
|
|
|
+
|
|
|
+ if(get(dir)==0, set(hotspot[get(dirItem)].visible,true););
|
|
|
+ if(get(dir)==1, set(layer[get(dirItem)].visible,true););
|
|
|
+ if(get(dir)==2, set(layer[get(dirItem)].visible,true););
|
|
|
|
|
|
</action>
|
|
|
|