projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5c4043e
)
fixed bug 532
author
adam
<adam@megacz.com>
Sat, 10 Apr 2004 03:32:22 +0000
(
03:32
+0000)
committer
adam
<adam@megacz.com>
Sat, 10 Apr 2004 03:32:22 +0000
(
03:32
+0000)
darcs-hash:
20040410033222
-5007d-
043e45d4bfb62258fa4d9b3c8603025e681e59cb
.gz
src/org/ibex/Box.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/Box.java
b/src/org/ibex/Box.java
index
4e6f374
..
49808b3
100644
(file)
--- a/
src/org/ibex/Box.java
+++ b/
src/org/ibex/Box.java
@@
-312,7
+312,7
@@
public final class Box extends JSScope implements Scheduler.Task {
//#repeat col/row colspan/rowspan contentwidth/contentheight width/height HSHRINK/VSHRINK numregions/numregions_v \
// maxwidth/maxheight cols/rows minwidth/minheight lp_h/lp lp_h/lp easy_width/easy_height regions/regions_v \
// computeRegions/computeRegions_v
//#repeat col/row colspan/rowspan contentwidth/contentheight width/height HSHRINK/VSHRINK numregions/numregions_v \
// maxwidth/maxheight cols/rows minwidth/minheight lp_h/lp lp_h/lp easy_width/easy_height regions/regions_v \
// computeRegions/computeRegions_v
- if (numkids > 0 && cols > 1) do {
+ if (numkids > 0) do {
computeRegions();
int nc = numregions * 3 + numkids * 2 + 3;
if (coeff == null || nc+1>coeff.length) coeff = new float[nc+1];
computeRegions();
int nc = numregions * 3 + numkids * 2 + 3;
if (coeff == null || nc+1>coeff.length) coeff = new float[nc+1];