projects
/
slipway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6a7c71b
)
checkpoint
author
adam
<adam@megacz.com>
Thu, 19 Apr 2007 04:10:39 +0000
(
05:10
+0100)
committer
adam
<adam@megacz.com>
Thu, 19 Apr 2007 04:10:39 +0000
(
05:10
+0100)
src/edu/berkeley/slipway/gui/GuiCell.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/slipway/gui/GuiCell.java
b/src/edu/berkeley/slipway/gui/GuiCell.java
index
027373f
..
cd8ef07
100644
(file)
--- a/
src/edu/berkeley/slipway/gui/GuiCell.java
+++ b/
src/edu/berkeley/slipway/gui/GuiCell.java
@@
-60,8
+60,8
@@
public class GuiCell {
else if (ygate==null) xgater = gateArea;
else {
double factor = gateArea.width()/2;
- xgater = gateArea.plus(0, 0, factor, factor);
- ygater = gateArea.plus(factor, 0, 0, factor);
+ xgater = gateArea.plus(0, 0, -factor, -factor);
+ ygater = gateArea.plus(factor, 0, 0, -factor);
}
R xring = gateArea.plus(4, 4, -4, -4);