Properly scale height

This commit is contained in:
Matthias Neeracher 2007-12-25 19:44:49 +00:00
parent f503e03cc3
commit deb08552d7

View File

@ -263,7 +263,7 @@ VLMusicElement sSemi2Accidental[12][12] = {
delete fLayout; delete fLayout;
fLayout = new VLLayout(*[self song], sz.width / fDisplayScale); fLayout = new VLLayout(*[self song], sz.width / fDisplayScale);
sz.height = std::max(2, fLayout->NumSystems())*kSystemH; sz.height = std::max(2, fLayout->NumSystems())*kSystemH*fDisplayScale;
NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale}; NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale};