fix: having no touch response under default osw profile.

This commit is contained in:
TrueZhuanjia
2025-07-26 10:11:18 +08:00
parent 49417e7bc9
commit ee4c1defa0
+1 -1
View File
@@ -1560,7 +1560,7 @@ static float L3_Y;
// on screen at the time
// DZ capturing shall be refactored in CustomOSC Mode & non-default profile condition
if(self._level == OnScreenControlsLevelCustom && [profilesManager getIndexOfSelectedProfile] != 0){
if(self._level == OnScreenControlsLevelCustom){
CGPoint touchLocation = [touch locationInView:_view];
for (NSString *key in _activeCustomOscButtonPositionDict) {
NSValue *value = _activeCustomOscButtonPositionDict[key];