Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Fixed bug to prevent first line border from being
Browse files Browse the repository at this point in the history
extra-wide
  • Loading branch information
Sal Uryasev committed Aug 26, 2009
1 parent dbb9d32 commit 65b28f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flare/src/flare/vis/operator/layout/TreeMapLayout.as
Expand Up @@ -157,8 +157,8 @@ package flare.vis.operator.layout
private function updateArea(n:NodeSprite, r:Rectangle):void
{
var o:Object = _t.$(n);
r.x = o.u = o.w > n.lineWidth ? o.u + n.lineWidth/2: o.u;
r.y = o.v = o.v > n.lineWidth ? o.v + n.lineWidth/2: o.v;
r.x = o.u = o.u + n.lineWidth/2;
r.y = o.v = o.v + n.lineWidth/2;
r.width = o.w = o.w > n.lineWidth ? o.w - n.lineWidth : 0;
r.height = o.h = o.h > n.lineWidth ? o.h - n.lineWidth : 0;

Expand Down

0 comments on commit 65b28f0

Please sign in to comment.