diff options
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r-- | plugingui/mainwindow.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc index 85a702e..1d956de 100644 --- a/plugingui/mainwindow.cc +++ b/plugingui/mainwindow.cc @@ -97,13 +97,13 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent) painter.drawImageStretched(0, 0, back, width(), height()); // DrumGizmo logo - painter.drawImage(width() - logo.width() - 16, + painter.drawImage(width() - logo.width() - sidebar.width(), height() - logo.height(), logo); // DrumGizmo version std::string version_string("v." + std::string(VERSION)); - auto version_x = width() - font.textWidth(version_string) - sidebar.width(); - auto version_y = height(); + auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 1; + auto version_y = height() - 1; painter.setColour(Colour(0.4)); painter.drawText(version_x, version_y, font, version_string); |