GeoView: crosshair is now always centered even with filter active.

svn: r14356
This commit is contained in:
Serge Noiraud 2010-02-13 18:29:42 +00:00
parent 991d477417
commit 07fefd8398

View File

@ -185,9 +185,9 @@ _JAVASCRIPT = '''<script>
crosshairs.style.width=crosshairsSize+'px';
crosshairs.style.height=crosshairsSize+'px';
crosshairs.style.border='0';
crosshairs.style.position='relative';
crosshairs.style.top=((Height-crosshairsSize)/2)+'px';
crosshairs.style.left=((Width-crosshairsSize)/2)+'px';
crosshairs.style.position='fixed';
crosshairs.style.top='50%';
crosshairs.style.left='50%';
crosshairs.style.zIndex='500';
container.appendChild(crosshairs);
this.crosshairs=crosshairs;