mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Fix initial recalculation
This commit is contained in:
parent
b1cf129da3
commit
3a55714cd3
|
@ -262,7 +262,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, fLayout->NumSystems())*kSystemH*fDisplayScale;
|
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};
|
||||||
|
|
||||||
|
@ -947,6 +947,7 @@ const float kSemiFloor = -1.0f*kLineH;
|
||||||
|
|
||||||
[self updateMenus];
|
[self updateMenus];
|
||||||
[self recalculateDimensions];
|
[self recalculateDimensions];
|
||||||
|
fNeedsRecalc = kFirstRecalc;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)removeObservers:(id)target
|
- (void)removeObservers:(id)target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user