- update default widget template

- change default button action for mousepad
- minor fixes
This commit is contained in:
True Zhuanjia
2026-05-01 00:21:55 +08:00
parent 5daf158908
commit 35ceebfe0d
11 changed files with 132 additions and 49 deletions
@@ -2006,7 +2006,9 @@
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
[self resetMagnifierStreamViewWithAnimated:false];
// handle view size change for on-screen widgets
CGSize oldSize = self.view.bounds.size;
CGFloat scaleX = size.width / oldSize.width;