Prechádzať zdrojové kódy

Add `layer` to the view explorer shortcut property list.

Ryan Olson 12 rokov pred
rodič
commit
55f4d33bc3

+ 1 - 1
Classes/Object Explorers/FLEXViewExplorerViewController.m

@@ -56,7 +56,7 @@ typedef NS_ENUM(NSUInteger, FLEXViewExplorerRow) {
 
 - (NSArray *)shortcutPropertyNames
 {
-    NSArray *propertyNames = @[@"frame", @"bounds", @"center", @"transform", @"backgroundColor", @"alpha", @"opaque", @"hidden", @"clipsToBounds", @"userInteractionEnabled"];
+    NSArray *propertyNames = @[@"frame", @"bounds", @"center", @"transform", @"backgroundColor", @"alpha", @"opaque", @"hidden", @"clipsToBounds", @"userInteractionEnabled", @"layer"];
     
     if ([self.viewToExplore isKindOfClass:[UILabel class]]) {
         propertyNames = [@[@"text", @"font", @"textColor"] arrayByAddingObjectsFromArray:propertyNames];