Merge branch 'bugfix/stack_main_thread' into 'release/9_1_0'
threading fix See merge request BPHV_MIPS/mvm_core_ui!740
This commit is contained in:
commit
d03f8b1f52
@ -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