Skip to content

Commit

Permalink
revert part of TestPlant imports. The _updateFieldEditor method is
Browse files Browse the repository at this point in the history
called *after* setUpFieldEditorAttributes so it reset attributes set to
NSText text object.
  • Loading branch information
rmottola committed Jan 24, 2025
1 parent f63f89d commit 7855b12
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Source/NSTextFieldCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,6 @@ - (NSAttributedString*) _drawAttributedString
}
}

- (void) _updateFieldEditor: (NSText*)textObject
{
[super _updateFieldEditor: textObject];
[textObject setDrawsBackground: _textfieldcell_draws_background];
[textObject setBackgroundColor: _background_color];
[textObject setTextColor: _text_color];
}

- (BOOL) isOpaque
{
if (_textfieldcell_draws_background == NO
Expand Down

0 comments on commit 7855b12

Please sign in to comment.