mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-18 09:59:46 +08:00
Fix ASLayoutSpecPlayground:ViewController:toggleVisualization
This commit is contained in:
@@ -55,11 +55,10 @@
|
||||
|
||||
#pragma mark - ASLayoutableInspectorNodeDelegate
|
||||
|
||||
- (void)toggleVizualization:(BOOL)toggle // FIXME: this doesn't work currently
|
||||
- (void)toggleVisualization:(BOOL)toggle
|
||||
{
|
||||
NSLog(@"shouldVisualizeLayoutSpecs:%d", toggle);
|
||||
[self.node shouldVisualizeLayoutSpecs:toggle];
|
||||
[self.view setNeedsLayout];
|
||||
[self.node setShouldVisualizeLayoutSpecs:toggle];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user