projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added handle priorities
[Mograsim.git]
/
net.mograsim.logic.model.editor
/
src
/
net
/
mograsim
/
logic
/
model
/
editor
/
handles
/
StaticPinHandle.java
diff --git
a/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/StaticPinHandle.java
b/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/StaticPinHandle.java
index
7c3f523
..
0f4a152
100644
(file)
--- a/
net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/StaticPinHandle.java
+++ b/
net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/StaticPinHandle.java
@@
-15,7
+15,7
@@
public class StaticPinHandle extends PinHandle
public StaticPinHandle(Pin parent)
{
public StaticPinHandle(Pin parent)
{
- super();
+ super(
1
);
this.parent = parent;
setSize(CIRCLE_DIAM, CIRCLE_DIAM);
parent.addPinMovedListener((p) -> updatePos());
this.parent = parent;
setSize(CIRCLE_DIAM, CIRCLE_DIAM);
parent.addPinMovedListener((p) -> updatePos());
@@
-40,13
+40,13
@@
public class StaticPinHandle extends PinHandle
{
return getPosX() + CIRCLE_RADIUS;
}
{
return getPosX() + CIRCLE_RADIUS;
}
-
+
@Override
public double getCenterY()
{
return getPosY() + CIRCLE_RADIUS;
}
@Override
public double getCenterY()
{
return getPosY() + CIRCLE_RADIUS;
}
-
+
@Override
public HandleType getType()
{
@Override
public HandleType getType()
{