diff options
author | David Robillard <d@drobilla.net> | 2011-06-09 03:41:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-09 03:41:17 +0000 |
commit | fc57e53e2554aa1a654d66bb7b97a8738bb77fb5 (patch) | |
tree | 0376956f6b461dad39ce4e3acb4ea8a62b3f7dda /src/AlsaDriver.cpp | |
parent | 91cdc941af88e8ba6e19673eb17825233db2218c (diff) | |
download | patchage-fc57e53e2554aa1a654d66bb7b97a8738bb77fb5.tar.gz patchage-fc57e53e2554aa1a654d66bb7b97a8738bb77fb5.tar.bz2 patchage-fc57e53e2554aa1a654d66bb7b97a8738bb77fb5.zip |
Automatically resize modules at update time as necessary.
This avoids the huge multiple resize performance problems of the past without requiring the user to manually resize modules.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3375 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index b2ceed7..2ddb2b6 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -134,9 +134,6 @@ AlsaDriver::refresh() } create_port_view_internal(_app, addr, parent, port); - if (parent) { - _app->enqueue_resize(parent); - } } } @@ -223,7 +220,6 @@ AlsaDriver::find_or_create_module( m = new PatchageModule(patchage, client_name, type); m->load_location(); _app->canvas()->add_module(client_name, m); - _app->enqueue_resize(m); _modules.insert(std::make_pair(client_id, m)); } return m; |