mirror of
https://github.com/microtherion/VocalEasel.git
synced 2025-01-14 06:04:01 +00:00
Properly scale height
This commit is contained in:
parent
f503e03cc3
commit
deb08552d7
|
@ -263,7 +263,7 @@ VLMusicElement sSemi2Accidental[12][12] = {
|
|||
|
||||
delete fLayout;
|
||||
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};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user