From 520659f0de4ae7ea569c51352cf3fe968bcd5e1b Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Mon, 12 Nov 2018 01:37:11 +0000 Subject: [PATCH] Update VRulers after macro vzoom command --- src/commands/SetTrackInfoCommand.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/SetTrackInfoCommand.cpp b/src/commands/SetTrackInfoCommand.cpp index 86cc9616a..f81fa85fb 100644 --- a/src/commands/SetTrackInfoCommand.cpp +++ b/src/commands/SetTrackInfoCommand.cpp @@ -394,6 +394,8 @@ bool SetTrackVisualsCommand::ApplyInner(const CommandContext & context, Track * mVZoomTop = c + ZOOMLIMIT / 2.0; } wt->SetDisplayBounds(mVZoomBottom, mVZoomTop); + TrackPanel *const tp = ::GetActiveProject()->GetTrackPanel(); + tp->UpdateVRulers(); } if( wt && bHasUseSpecPrefs ){