fix: profile saving issue caused by launching osw tool via tap gesture
This commit is contained in:
@@ -399,7 +399,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
}
|
||||
|
||||
|
||||
- (void) clearOnScreenKeyboardButtons{
|
||||
- (void) clearOnScreenWidgets{
|
||||
for (UIView *subview in self->streamFrameTopLayerView.subviews) {
|
||||
// 检查子视图是否是特定类型的实例
|
||||
if ([subview isKindOfClass:[OnScreenWidgetView class]]) {
|
||||
@@ -422,7 +422,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
// NSLog(@"reload on screen keyboard buttons here");
|
||||
|
||||
// remove all keyboard widget views first
|
||||
[self clearOnScreenKeyboardButtons];
|
||||
[self clearOnScreenWidgets];
|
||||
|
||||
// bool customOscEnabled = [self isOscEnabled] && settings.onscreenControls.intValue == OnScreenControlsLevelCustom;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user