summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-26 02:43:23 +0000
committerDavid Robillard <d@drobilla.net>2010-02-26 02:43:23 +0000
commit43a030b26c4d07270275013b797b7a9c13e9c09e (patch)
tree2144fd07146befa79e72553a50955ace4fbee808 /src/gui
parentf982e4b62ebba89ead634169ebe4e281cc7df46a (diff)
downloadingen-43a030b26c4d07270275013b797b7a9c13e9c09e.tar.gz
ingen-43a030b26c4d07270275013b797b7a9c13e9c09e.tar.bz2
ingen-43a030b26c4d07270275013b797b7a9c13e9c09e.zip
Arrange at the top left and scroll to top left corner by default.
This seems much saner than in the "middle" of some arbitrarily large canvas (which was never quite right), which requires that size to be hardcoded everywhere. This way Feels tighter and more document based to me as well... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2496 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchWindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp
index 27e2737e..39544808 100644
--- a/src/gui/PatchWindow.cpp
+++ b/src/gui/PatchWindow.cpp
@@ -254,8 +254,6 @@ PatchWindow::set_patch(SharedPtr<PatchModel> patch, SharedPtr<PatchView> view)
show_all();
- _view->canvas()->scroll_to_center();
-
_view->signal_object_entered.connect(sigc::mem_fun(this, &PatchWindow::object_entered));
_view->signal_object_left.connect(sigc::mem_fun(this, &PatchWindow::object_left));