guide lines optimizations for legacy osc buttons

This commit is contained in:
TrueZhuangjia authored and TrueZhuanjia committed 2025-04-02 20:35:14 +08:00
1 parent 928284990b
commit a03a50d238
5 files changed
+65 -62

No files matched your search

+1 -4
View File
@@ -1037,10 +1037,7 @@ static float L3_Y;
}
- (BOOL) handleTouchMovedEvent:touches {
// Start a new transaction
[CATransaction begin];
// Disable implicit animations for onScreenStick movements
[CATransaction setDisableActions:YES];
BOOL updated = false;
@@ -1178,7 +1175,7 @@ static float L3_Y;
- (void)oscButtonTouchDownVisualEffect:(CALayer* )button{
[CATransaction begin];
[CATransaction setDisableActions:YES]; // Disable implicit animations for
[CATransaction setDisableActions:YES];
/*
if(![[_originalControllerLayerOpacityDict allKeys] containsObject:button.name]){