From deb08552d7ba948678e6d2c869054a89d091a96a Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Tue, 25 Dec 2007 19:44:49 +0000 Subject: [PATCH] Properly scale height --- Sources/VLSheetView.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/VLSheetView.mm b/Sources/VLSheetView.mm index 03bb7ee..aa3abb8 100644 --- a/Sources/VLSheetView.mm +++ b/Sources/VLSheetView.mm @@ -262,8 +262,8 @@ VLMusicElement sSemi2Accidental[12][12] = { NSSize sz = [scroll contentSize]; delete fLayout; - fLayout = new VLLayout(*[self song], sz.width / fDisplayScale); - sz.height = std::max(2, fLayout->NumSystems())*kSystemH; + fLayout = new VLLayout(*[self song], sz.width / fDisplayScale); + sz.height = std::max(2, fLayout->NumSystems())*kSystemH*fDisplayScale; NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale};