This bug is still alive in krpano-1.0.8.11, it is crawling over my screen as well.
The problematic behavior can be reproduced with the following code:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<krpano onstart="myinit">
<plugin name="test"
url="myimage.jpg"
x="10"
y="10"
width="prop"
height="50%"
align="lefttop"
edge="lefttop"
/>
<action name="myinit">
trace("plugin[test].x=", get(plugin[test].x) );
plugin[test].changeorigin( lefttop, righttop );
trace("plugin[test].x=", get(plugin[test].x) );
</action>
</krpano>
|
Replace the url with that one for an existing image.
Normally, x should get a bigger value after changeorigin(), but it does not, instead the whole image shifts to the left.