mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-05 08:49:29 +08:00
Revert unnecessary change to [ASDisplayNode setOpaque:]
This commit is contained in:
@@ -333,10 +333,14 @@ if (shouldApply) { _layer.layerProperty = (layerValueExpr); } else { _pendingVie
|
||||
|
||||
- (void)setOpaque:(BOOL)newOpaque
|
||||
{
|
||||
_bridge_prologue_write;
|
||||
_setToViewOrLayer(opaque, newOpaque, opaque, newOpaque);
|
||||
BOOL prevOpaque = self.opaque;
|
||||
|
||||
// TODO: Mark as needs display if value changed?
|
||||
_bridge_prologue_write;
|
||||
_setToLayer(opaque, newOpaque);
|
||||
|
||||
if (prevOpaque != newOpaque) {
|
||||
[self setNeedsDisplay];
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)isUserInteractionEnabled
|
||||
|
||||
Reference in New Issue
Block a user