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
(parent:
fa49b56
)
2003/12/29 21:59:21
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:41 +0000
(07:43 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 07:43:41 +0000
(07:43 +0000)
darcs-hash:
20040130074341
-2ba56-
6311d90bcf62e0e14dbbbecde4eba35d23a1de38
.gz
src/org/xwt/Box.java
patch
|
blob
|
history
diff --git
a/src/org/xwt/Box.java
b/src/org/xwt/Box.java
index
7572beb
..
186e93d
100644
(file)
--- a/
src/org/xwt/Box.java
+++ b/
src/org/xwt/Box.java
@@
-365,8
+365,8
@@
public final class Box extends JSScope implements Scheduler.Task {
if (cx2 <= cx1 || cy2 <= cy1) return;
}
- if ((fillcolor & 0xFF000000) != 0x00000000)
- buf.fillTrapezoid(cx1, cx2, cy1, cx1, cx2, cy2, fillcolor);
+ if ((fillcolor & 0xFF000000) != 0x00000000 || parent == null)
+ buf.fillTrapezoid(cx1, cx2, cy1, cx1, cx2, cy2, (fillcolor & 0xFF000000) == 0 ? 0xffffffff : fillcolor);
// FIXME: do aspect in here
if (texture != null && texture.isLoaded)