projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added concept of wire width to GUIComponents and GUIWires
[Mograsim.git]
/
LogicUI
/
src
/
era
/
mi
/
gui
/
model
/
components
/
GUIManualSwitch.java
diff --git
a/LogicUI/src/era/mi/gui/model/components/GUIManualSwitch.java
b/LogicUI/src/era/mi/gui/model/components/GUIManualSwitch.java
index
546b17e
..
6008329
100644
(file)
--- a/
LogicUI/src/era/mi/gui/model/components/GUIManualSwitch.java
+++ b/
LogicUI/src/era/mi/gui/model/components/GUIManualSwitch.java
@@
-23,7
+23,7
@@
public class GUIManualSwitch extends GUIComponent
{
super(model);
setSize(width, height);
- addPin(new Pin(this, width, height / 2));
+ addPin(new Pin(this,
1,
width, height / 2));
}
@Override