From 70edb03b2aeb19264984b4eb591854424c109f2c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 8 Apr 2016 17:51:14 -0700 Subject: [PATCH] Fix some audio display rendering quirks on retina OS X --- src/audio_display.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio_display.cpp b/src/audio_display.cpp index 2b5f10c14..2041715fd 100644 --- a/src/audio_display.cpp +++ b/src/audio_display.cpp @@ -997,8 +997,8 @@ void AudioDisplay::SetTrackCursor(int new_pos, bool show_time) int old_pos = track_cursor_pos; track_cursor_pos = new_pos; - RefreshRect(wxRect(old_pos - scroll_left - 0, audio_top, 1, audio_height), false); - RefreshRect(wxRect(new_pos - scroll_left - 0, audio_top, 1, audio_height), false); + RefreshRect(wxRect(old_pos - scroll_left - 1, audio_top, 2, audio_height - 1), false); + RefreshRect(wxRect(new_pos - scroll_left - 1, audio_top, 2, audio_height - 1), false); // Make sure the old label gets cleared away RefreshRect(track_cursor_label_rect, false);