diff options
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/PatchCanvas.cpp | 4 | ||||
-rw-r--r-- | src/libs/gui/PatchCanvas.hpp | 2 | ||||
-rw-r--r-- | src/libs/gui/PatchWindow.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp index 657617dd..4fec2626 100644 --- a/src/libs/gui/PatchCanvas.cpp +++ b/src/libs/gui/PatchCanvas.cpp @@ -227,9 +227,9 @@ PatchCanvas::build() void -PatchCanvas::arrange() +PatchCanvas::arrange(bool ingen_doesnt_use_length_hints) { - FlowCanvas::Canvas::arrange(); + FlowCanvas::Canvas::arrange(false); for (list<boost::shared_ptr<Item> >::iterator i = _items.begin(); i != _items.end(); ++i) (*i)->store_location(); diff --git a/src/libs/gui/PatchCanvas.hpp b/src/libs/gui/PatchCanvas.hpp index fdd7cb34..1df3773f 100644 --- a/src/libs/gui/PatchCanvas.hpp +++ b/src/libs/gui/PatchCanvas.hpp @@ -65,7 +65,7 @@ public: }*/ void build(); - void arrange(); + void arrange(bool use_length_hints); void add_node(SharedPtr<NodeModel> nm); void remove_node(SharedPtr<NodeModel> nm); diff --git a/src/libs/gui/PatchWindow.cpp b/src/libs/gui/PatchWindow.cpp index 5569c037..7d72f9ab 100644 --- a/src/libs/gui/PatchWindow.cpp +++ b/src/libs/gui/PatchWindow.cpp @@ -476,7 +476,7 @@ PatchWindow::event_clear() void PatchWindow::event_arrange() { - _view->canvas()->arrange(); + _view->canvas()->arrange(false); } |