From fc5873c2d2784da0ad2e1ab82c14f45c33340204 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 20 May 2012 00:16:40 +0200 Subject: [PATCH] Always fill scroll view --- Sources/VLSheetView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index c116813..880454a 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -296,7 +296,7 @@ static float sFlatPos[] = { delete fLayout; fLayout = new VLLayout(*[self song], sz.width / fDisplayScale); - sz.height = std::max(2.0f, fLayout->NumSystems()+0.25f)*kSystemH*fDisplayScale; + sz.height = std::max(sz.height, std::max(2.0f, fLayout->NumSystems()+0.25f)*kSystemH*fDisplayScale); NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale};