iOS 12 widget layout tool trashcan button fix 2

This commit is contained in:
TrueZhuanjia
2025-08-14 02:17:55 +08:00
parent dd6dbdf1aa
commit 83593a0ea7
@@ -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 {