mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
Always fill scroll view
This commit is contained in:
parent
b25af52bb2
commit
fc5873c2d2
|
@ -296,7 +296,7 @@ static float sFlatPos[] = {
|
||||||
|
|
||||||
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.0f, fLayout->NumSystems()+0.25f)*kSystemH*fDisplayScale;
|
sz.height = std::max<float>(sz.height, std::max(2.0f, fLayout->NumSystems()+0.25f)*kSystemH*fDisplayScale);
|
||||||
|
|
||||||
NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale};
|
NSSize boundsSz = {sz.width / fDisplayScale, sz.height / fDisplayScale};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user