mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
(-drawGlyphsForGlyphRange:atPoint:): Use the focused view as the control view instead of the text container's text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
368c851e38
commit
836df5adbe
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-03-05 17:07 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
|
||||
Use the focused view as the control view instead of the text
|
||||
container's text view (it might not have one).
|
||||
|
||||
2003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add
|
||||
|
|
|
@ -1416,7 +1416,7 @@ container
|
|||
NSRect cellFrame;
|
||||
|
||||
if (!controlView)
|
||||
controlView = [tc->textContainer textView];
|
||||
controlView = [NSView focusView];
|
||||
|
||||
while (la->pos != g && la_i < lf->num_attachments)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue