iOS 12 widget layout tool trashcan button fix 2

This commit is contained in:
TrueZhuanjia committed 2025-08-14 02:17:55 +08:00
1 parent dd6dbdf1aa
commit 83593a0ea7
1 file changed
+1 -1
@@ -1294,7 +1294,7 @@
// -------- for OSC buttons
[self.layoutOSC touchesMoved:touches withEvent:event];
trashCanButton.tintColor = trashCanButton.tintColor = [self layerIsOverlappingWithTrashcanButton:self.layoutOSC.layerBeingDragged] ? [UIColor redColor] : trashCanStoryBoardColor;
trashCanButton.tintColor = trashCanButton.titleLabel.textColor = [self layerIsOverlappingWithTrashcanButton:self.layoutOSC.layerBeingDragged] ? [UIColor redColor] : trashCanStoryBoardColor;
}
- (bool)touchWithinTashcanButton:(UITouch* )touch {