Add a possibility to move the pivot to the centre of a circuit component
Bug #1395360 reported by
Danil Sokolov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Workcraft |
Fix Committed
|
Low
|
Danil Sokolov |
Bug Description
Currently the contacts need to be moved around to move the pivot.
Possible solutions:
a) Always recalculate the pivot to the centre of the circuit component;
b) Add a pop-up menu item to recalculate the pivot.
Related branches
lp:~danilovesky/workcraft/trunk-bug-1395360
- Danil Sokolov: Approve
-
Diff: 1050 lines (+427/-368)8 files modifiedCircuitPlugin/src/org/workcraft/plugins/circuit/VisualCircuit.java (+1/-0)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualCircuitComponent.java (+60/-58)
CircuitPlugin/src/org/workcraft/plugins/circuit/VisualContact.java (+53/-35)
CircuitPlugin/src/org/workcraft/plugins/circuit/tools/CircuitSelectionTool.java (+48/-34)
CircuitPlugin/src/org/workcraft/plugins/circuit/tools/CircuitSimulationTool.java (+43/-27)
STGPlugin/src/org/workcraft/plugins/stg/tools/StgSimulationTool.java (+16/-8)
WorkcraftCore/models/simulation.ucls (+202/-202)
WorkcraftCore/src/org/workcraft/dom/visual/VisualComponent.java (+4/-4)
Changed in workcraft: | |
milestone: | none → 3.0.4 |
Changed in workcraft: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.