Преглед на файлове

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

Ryan Olson преди 12 години
родител
ревизия
55f4d33bc3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Classes/Object Explorers/FLEXViewExplorerViewController.m

+ 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];