Fix: lost updateSavedResolution in viewWillTransitionToSize

This caused game not to update resolution on window resize.
This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2022-11-19 11:15:23 +07:00
1 parent 05a89eb017
commit 54fd01a7f2
1 file changed
+3
+3
View File
@@ -415,6 +415,9 @@ BOOL slideableHotbar;
[(ControlButton *)view update];
}
}
// Update game resolution
[self updateSavedResolution];
} completion:^(id<UIViewControllerTransitionCoordinatorContext> _Nonnull context) {
virtualMouseFrame = self.mousePointerView.frame;
}];