Andrew Belt
|
0609ef0ebb
|
Refactor MenuLabel frame rate math in MenuBar.
|
2 years ago |
Andrew Belt
|
591246a500
|
Replace "frameSwapInterval" setting with "frameRateLimit".
|
2 years ago |
Andrew Belt
|
85061331bb
|
Fix RackWidget::squeezeModulePos() setting incorrect positions of right shoved modules.
|
2 years ago |
Andrew Belt
|
2cb341274a
|
Apply rack offset in ModuleWidget::get/setGridPosition() etc.
|
2 years ago |
Andrew Belt
|
ecf1be8b4c
|
When lockModules setting is enabled, also lock selected modules.
|
2 years ago |
Andrew Belt
|
6364cab316
|
Rename "template" module preset in menu items to "default". Hide template preset in preset list.
|
2 years ago |
Andrew Belt
|
d3e6c84fc3
|
Fix expanders occasionally not connecting when removing a module.
|
2 years ago |
Andrew Belt
|
ebad98effb
|
Refactor RackWidget::updateExpanders() to use ModuleWidget::getGridBox().
|
2 years ago |
Andrew Belt
|
b31ae5502d
|
Call updateExpanders() in RackWidget::squeezeModulePos() and unsqueezeModulePos(), fixing expanders not connecting when cloning modules.
|
2 years ago |
Andrew Belt
|
3ff824b43f
|
Use old module move algorithm for adding/removing modules when auto-squeeze is disabled.
|
2 years ago |
Andrew Belt
|
259fc6d44a
|
Revise TipWindow messages.
|
2 years ago |
Andrew Belt
|
16a3ea741e
|
Reorganize View menu.
|
2 years ago |
Andrew Belt
|
7d6b9d2211
|
Add squeezeModules setting and menu bar item to toggle new squeeze or old nearest/force behavior.
|
2 years ago |
Andrew Belt
|
f47729b40d
|
Add back force-moving of modules.
|
2 years ago |
Andrew Belt
|
e0b223605b
|
Don't refresh Browser on show.
|
3 years ago |
Andrew Belt
|
2e6f5d1ed7
|
In ModuleWidget::removeAction() unset module position from rack and push to history.
|
3 years ago |
Andrew Belt
|
6cf85035e2
|
Fix ModuleWidget::cloneAction() position of cloned module.
|
3 years ago |
Andrew Belt
|
e6354957a5
|
Separate RackWidget::setModulePosForce() into multiple methods.
|
3 years ago |
Andrew Belt
|
92d3196ac0
|
Place cloned module directly to the right of the original module.
|
3 years ago |
Andrew Belt
|
9fec91438d
|
Clean up RackWidget::setModulePosForce(). Use grid coordinates instead of pixels.
|
3 years ago |
Andrew Belt
|
32acefe1d5
|
Reorder and tweak behaviors in RackWidget::setModulePosForce() algorithm.
|
3 years ago |
Andrew Belt
|
0033ab76a3
|
Tweak position of meter percentage text. Omit "%" for 2 HP modules.
|
3 years ago |
Andrew Belt
|
950d73444e
|
Add menu item to port menu to set color of cables.
|
3 years ago |
Andrew Belt
|
d1683067c6
|
Only dispatch ActionEvent on mouse down in SvgButton.
|
3 years ago |
Andrew Belt
|
974fe13d2f
|
Increase ref counter of module JSON in ModuleWidget::pasteJsonAction() when giving shared ownership to history::ModuleChange action.
|
3 years ago |
Andrew Belt
|
b42c433930
|
Don't consume Button in ModuleWidget when Shift-clicking to select/deselect.
|
3 years ago |
Andrew Belt
|
c7bb0b7cf1
|
Make RackWidget::setModulePosNearest() and setSelectionPosNearest() always set the same row.
|
3 years ago |
Andrew Belt
|
074bca645a
|
In RackWidget::setModulePosForce(), only shove right modules left if module's new box does not occupy old box.
|
3 years ago |
Andrew Belt
|
30a31e858b
|
Rename RackWidget::getModuleMoveAction() back to getModuleDragAction() for ABI compatibility.
|
3 years ago |
Andrew Belt
|
88db0b74e9
|
Improve RackWidget::setModulePosForce() with a few intuitive special cases.
|
3 years ago |
Andrew Belt
|
957350c9ff
|
In RackWidget::setModulePosForce(), if module old position is to the left of the new position, shove other modules to the left instead of the right.
|
3 years ago |
Andrew Belt
|
5beab691e6
|
Constrict dragged module to left/right of other modules.
|
3 years ago |
Andrew Belt
|
e19347d6da
|
Use setModulePosForce() in RackWidget::addModuleAtMouse(). Push ModuleMove action when calling addModuleAtMouse().
|
3 years ago |
Andrew Belt
|
9c512458cf
|
Refactor RackWidget::addModuleAtMouse().
|
3 years ago |
Andrew Belt
|
f4eae161e8
|
Change RackWidget::setModulePosForce() behavior to insert module between other modules, remove gaps, and shove other modules to the right only.
|
3 years ago |
Andrew Belt
|
e57d87e708
|
If ModuleWidget is selected, don't dispatch Button event to children.
|
3 years ago |
Andrew Belt
|
1535b110cb
|
Don't always consume buttons in ModuleWidget.
|
3 years ago |
Andrew Belt
|
2283de5792
|
Make module dragging always force-move modules. Allow creating selections and moving selections of modules if "Lock module positions" is enabled.
|
3 years ago |
Andrew Belt
|
f79c7dc75f
|
Simpilfy RackWidget::onButton().
|
3 years ago |
Andrew Belt
|
bee494a3d7
|
Make force-moving default module drag behavior.
|
3 years ago |
Andrew Belt
|
74f372ec3f
|
Make force-moving move other modules to their "old" position when moving began.
|
3 years ago |
Andrew Belt
|
6a7bd37389
|
Remove ModuleWidget::oldPos, store old module positions in RackWidget::Internal.
|
3 years ago |
Andrew Belt
|
6258edeaf4
|
Don't consume key in TextField is Ctrl is held.
|
3 years ago |
Andrew Belt
|
7032be4725
|
Don't re-adjust module positions based on patch bounding box when serializing RackWidget.
|
3 years ago |
Andrew Belt
|
8fca198dfe
|
Fix initial angle of PlugWidget.
|
3 years ago |
Andrew Belt
|
41324f8079
|
Fix Module ID printf type.
|
3 years ago |
Andrew Belt
|
7bb39b339b
|
Add "Support" item to Help menu. Rearrange Help menu.
|
3 years ago |
Andrew Belt
|
8e7acf9b74
|
Log all calls to Model::createModule() and createModuleWidget().
|
3 years ago |
Andrew Belt
|
cdcb4bded1
|
Rename and reorder File > "Save template" to "Overwrite template".
|
3 years ago |
Andrew Belt
|
6ef77b1b88
|
Add "Save a copy" to File menu.
|
3 years ago |