[Biojava-dev] [Bug 2144] New: LayeredRenderer not handling OverlayMarkers
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Wed Nov 15 20:58:52 UTC 2006
http://bugzilla.open-bio.org/show_bug.cgi?id=2144
Summary: LayeredRenderer not handling OverlayMarkers
Product: BioJava
Version: 1.4
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: seq
AssignedTo: biojava-dev at biojava.org
ReportedBy: jbdamask at earthlink.net
Adding OverlayRendererWrappers to SequenceRenderers which eventually are placed
onto a MultiLineRenderer causes extra whitespace in the rendered depth. This is
due to LayeredRenderer's getDepth method line: depth += sRend.getDepth(src);
To fix, add a conditional as follows:
if(sRend instanceof OverlayMarker){
depth += 0.0; // maybe just do nothing here
}else {
depth += sRend.getDepth(src);
}
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the biojava-dev
mailing list