Просмотр исходного кода

Fix argument input screen colors

Tanner Bennett лет назад: 6
Родитель
Сommit
7186b58e80

+ 0 - 1
Classes/Editing/ArgumentInputViews/FLEXArgumentInputColorView.m

@@ -35,7 +35,6 @@
     self = [super initWithFrame:frame];
     self = [super initWithFrame:frame];
     if (self) {
     if (self) {
         self.slider = [UISlider new];
         self.slider = [UISlider new];
-        self.slider.backgroundColor = self.backgroundColor;
         [self.slider addTarget:self action:@selector(sliderChanged:) forControlEvents:UIControlEventValueChanged];
         [self.slider addTarget:self action:@selector(sliderChanged:) forControlEvents:UIControlEventValueChanged];
         [self addSubview:self.slider];
         [self addSubview:self.slider];
         
         

+ 0 - 2
Classes/Editing/ArgumentInputViews/FLEXArgumentInputFontView.m

@@ -25,13 +25,11 @@
     self = [super initWithArgumentTypeEncoding:typeEncoding];
     self = [super initWithArgumentTypeEncoding:typeEncoding];
     if (self) {
     if (self) {
         self.fontNameInput = [[FLEXArgumentInputFontsPickerView alloc] initWithArgumentTypeEncoding:FLEXEncodeClass(NSString)];
         self.fontNameInput = [[FLEXArgumentInputFontsPickerView alloc] initWithArgumentTypeEncoding:FLEXEncodeClass(NSString)];
-        self.fontNameInput.backgroundColor = self.backgroundColor;
         self.fontNameInput.targetSize = FLEXArgumentInputViewSizeSmall;
         self.fontNameInput.targetSize = FLEXArgumentInputViewSizeSmall;
         self.fontNameInput.title = @"Font Name:";
         self.fontNameInput.title = @"Font Name:";
         [self addSubview:self.fontNameInput];
         [self addSubview:self.fontNameInput];
         
         
         self.pointSizeInput = [FLEXArgumentInputViewFactory argumentInputViewForTypeEncoding:@encode(CGFloat)];
         self.pointSizeInput = [FLEXArgumentInputViewFactory argumentInputViewForTypeEncoding:@encode(CGFloat)];
-        self.pointSizeInput.backgroundColor = self.backgroundColor;
         self.pointSizeInput.targetSize = FLEXArgumentInputViewSizeSmall;
         self.pointSizeInput.targetSize = FLEXArgumentInputViewSizeSmall;
         self.pointSizeInput.title = @"Point Size:";
         self.pointSizeInput.title = @"Point Size:";
         [self addSubview:self.pointSizeInput];
         [self addSubview:self.pointSizeInput];