Browse Source

Change origin offset of RackScrollWidget

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
0ed5f561fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/RackScrollWidget.cpp

+ 1
- 1
src/app/RackScrollWidget.cpp View File

@@ -113,7 +113,7 @@ void RackScrollWidget::onHoverScroll(const widget::HoverScrollEvent &e) {

void RackScrollWidget::reset() {
offset = RACK_OFFSET.mult(zoomWidget->zoom);
offset = offset.minus(math::Vec(100, 80));
offset = offset.minus(math::Vec(30, 30));
}




Loading…
Cancel
Save