iOS 12 widget layout tool trashcan button fix 2
This commit is contained in:
1 parent
dd6dbdf1aa
commit
83593a0ea7
1 file changed
+1
-1
+1
-1
@@ -1294,7 +1294,7 @@
|
|||||||
// -------- for OSC buttons
|
// -------- for OSC buttons
|
||||||
[self.layoutOSC touchesMoved:touches withEvent:event];
|
[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 {
|
- (bool)touchWithinTashcanButton:(UITouch* )touch {
|
||||||
|
|||||||
Reference in new issue
Block a user