[Chameleon-dev] [Bug 349] RulerWidget: arrow does not coincide with center of block image

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Tue Aug 31 16:13:19 EDT 2004


------- Additional Comments From ken at rockies.ca  2004-08-31 16:13 -------
I did a fix to this by changing the shiftTo function in dhtmlapi.js file to:

function shiftTo(obj, x, y) {
	var theObj = getObject(obj)
	if (isNav4) {
	} else {
		theObj.left = x - 4
		theObj.top = y - 4

Far as I can tell the ruler is the only widget thats accessing dhtmlapi.js so 
this shouldnt break anything. Ideally I think the ruler widget should be 
changed to use the same functions as the ROIPolygonTool. The code is much 
cleaner and easier to follow and since many of the things being done are 
identical there isnt a point in having two completely different methods.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the Chameleon-dev mailing list