diff options
author | David Robillard <d@drobilla.net> | 2008-01-02 17:53:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-02 17:53:38 +0000 |
commit | 30c99cfed4fb125d3e625dc94a11200b464605cc (patch) | |
tree | 5788a6300f9a687f43186041463ddab0cac846d9 | |
parent | 342cb2b927683c8edc338d0ab21ae86cc66bb422 (diff) | |
download | patchage-30c99cfed4fb125d3e625dc94a11200b464605cc.tar.gz patchage-30c99cfed4fb125d3e625dc94a11200b464605cc.tar.bz2 patchage-30c99cfed4fb125d3e625dc94a11200b464605cc.zip |
Fix canvas scroll buttons.
git-svn-id: http://svn.drobilla.net/lad/patchage@1007 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/Patchage.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 504c471..84d1b41 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -153,6 +153,9 @@ Patchage::Patchage(int argc, char** argv) _canvas->scroll_to(static_cast<int>(_canvas->width()/2 - 320), static_cast<int>(_canvas->height()/2 - 240)); // FIXME: hardcoded + _main_scrolledwin->property_hadjustment().get_value()->set_step_increment(10); + _main_scrolledwin->property_vadjustment().get_value()->set_step_increment(10); + _buffer_size_combo->signal_changed().connect( sigc::mem_fun(this, &Patchage::buffer_size_changed)); _rewind_but->signal_clicked().connect( |