summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-17 13:29:18 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-17 13:29:18 +0200
commit20c62f8cc12c86734d63c654d2fceb80d762e010 (patch)
treef5cd653b4b2c6f072f05ac7995a7fe0b39afd7a0 /plugin/drumgizmo_plugin.cc
parent041999e9012b71c357ff2d65b47e9d413467e15b (diff)
Fix the size for the plugins.
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r--plugin/drumgizmo_plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index 075724c..b1ad17c 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -63,7 +63,7 @@ DrumGizmoPlugin::DrumGizmoPlugin()
init();
drumgizmo = std::make_shared<DrumGizmo>(settings, output, input);
- resizeWindow(750, 400);
+ resizeWindow(width, height);
drumgizmo->setFreeWheel(true);
drumgizmo->setSamplerate(44100);
drumgizmo->setFrameSize(2048);
@@ -262,7 +262,7 @@ bool DrumGizmoPlugin::hasGUI()
void DrumGizmoPlugin::createWindow(void *parent)
{
plugin_gui = std::make_shared<GUI::MainWindow>(settings, parent);
- resizeWindow(750, 480);
+ resizeWindow(width, height);
onShowWindow();
}