Remove cell size adjustment

We added a rect adjustment in the graphing cell in order to draw
outside the cell boundaries. This is no longer necessary
This commit is contained in:
Pieter de Bie
2008-08-27 22:36:42 +02:00
parent c1e701a379
commit 6886bc5afb
-5
View File
@@ -87,11 +87,6 @@
NSRect ownRect;
NSDivideRect(rect, &ownRect, &rect, pathWidth, NSMinXEdge);
// Adjust by removing the border
ownRect.size.height += 2;
ownRect.origin.y -= 1;
ownRect.origin.x += 0;
for (PBLine* line in cellInfo.lines) {
if (line.upper == 0)
[self drawLineFromColumn: line.from toColumn: line.to inRect:ownRect offset: ownRect.size.height];