threading fix
This commit is contained in:
parent
cea16818cc
commit
69499bf049
@ -1053,7 +1053,11 @@ CGFloat const PanelAnimationDuration = 0.2;
|
||||
}
|
||||
|
||||
+ (CGFloat)getApplicationViewWidth {
|
||||
return CGRectGetWidth([self getBounds:[MVMCoreUISession sharedGlobal].splitViewController.view.superview]);
|
||||
__block CGFloat width;
|
||||
[MVMCoreDispatchUtility performSyncBlockOnMainThread:^{
|
||||
width = CGRectGetWidth([self getBounds:[MVMCoreUISession sharedGlobal].splitViewController.view.superview]);
|
||||
}];
|
||||
return width;
|
||||
}
|
||||
|
||||
+ (CGFloat)getApplicationViewMaxSize {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user