mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
(-drawRect:): Draw background correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16597 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
09fe259cce
commit
ecb096136a
1 changed files with 2 additions and 3 deletions
|
@ -2899,8 +2899,7 @@ Figure out how the additional layout stuff is supposed to work.
|
|||
* situation, there might be no new glyphs where the old glyphs
|
||||
* were! */
|
||||
[_backgroundColor set];
|
||||
NSRectFill (rect);
|
||||
|
||||
NSRectFill([self bounds]);
|
||||
}
|
||||
|
||||
/* Then draw the special background of the new glyphs. */
|
||||
|
@ -3455,7 +3454,7 @@ shouldRemoveMarker: (NSRulerMarker *)marker
|
|||
/*
|
||||
This method is for user changes; see NSTextView_actions.m.
|
||||
|
||||
(Note that this makes it impossible to past programmatically, but it's
|
||||
(Note that this makes it impossible to paste programmatically, but it's
|
||||
necessary to get the -shouldChangeTextInRange:replacementString: calls
|
||||
right.)
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue