From 9869a2deeb722ec58944ced330bc10fc92bc6ec0 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Mon, 16 Apr 2007 04:47:27 +0000 Subject: [PATCH] Draw everything after coordinate recalc --- Sources/VLSheetView.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 8d1f0a5..88622b5 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -492,17 +492,17 @@ VLMusicElement sSemi2Accidental[12][12] = { - (void)drawRect:(NSRect)rect { - if (fNeedsRecalc || [self inLiveResize]) + if (fNeedsRecalc || [self inLiveResize]) { [self recalculateDimensions]; + rect = [self bounds]; + } size_t stanzas = [self song]->CountStanzas(); const float kLineW = fClefKeyW + fMeasPerSystem*fMeasureW; for (int system = 0; system