In circuit plugin position of function contacts is inconsistent for Gate renderer
Bug #1343295 reported by
Danil Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Workcraft |
Fix Committed
|
Medium
|
Stan |
Bug Description
To reproduce create a Digital Circuit work and do the following:
- Add two Function components
- Assign the first one a function a+b and the second one a*b
- Change their rendering method to Gate
Observed behaviour:
- The length of the pins is inconsistent between the gates
- position of contacts is not aligned with the pins of AND gate
Related branches
lp:~danilovesky/workcraft/trunk-bug-1343295
- Danil Sokolov: Approve
-
Diff: 1831 lines (+589/-563)10 files modifiedCircuitPlugin/src/org/workcraft/plugins/circuit/CircuitModule.java (+20/-0)
CircuitPlugin/src/org/workcraft/plugins/circuit/Contact.java (+0/-1)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualCircuitComponent.java (+268/-238)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualContact.java (+1/-23)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualFunctionComponent.java (+142/-146)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualFunctionContact.java (+66/-63)
CircuitPlugin/src/org/workcraft/plugins/circuit/renderers/ComponentRenderingResult.java (+1/-3)
CircuitPlugin/src/org/workcraft/plugins/circuit/renderers/GateRenderer.java (+1/-1)
CpogsPlugin/src/org/workcraft/plugins/cpog/optimisation/booleanvisitors/FormulaToGraphics.java (+90/-87)
WorkcraftCore/src/org/workcraft/dom/visual/VisualComponent.java (+0/-1)
Changed in workcraft: | |
status: | Triaged → Confirmed |
Changed in workcraft: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.