mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Properly scale height
This commit is contained in:
parent
f503e03cc3
commit
deb08552d7
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user