mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 14:41:56 +00:00
Reset cursor rectangles when a view is scrolled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25645 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
efe3ed5993
commit
296fd50a2e
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-11-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSClipView.m: ([scrollToPoint]) reset cursor rectangles when
|
||||||
|
view is scrolled.
|
||||||
|
|
||||||
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSWindowController.m:
|
* Source/NSWindowController.m:
|
||||||
|
|
|
@ -214,6 +214,7 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
||||||
- (void) scrollToPoint: (NSPoint)aPoint
|
- (void) scrollToPoint: (NSPoint)aPoint
|
||||||
{
|
{
|
||||||
[self setBoundsOrigin: [self constrainScrollPoint: aPoint]];
|
[self setBoundsOrigin: [self constrainScrollPoint: aPoint]];
|
||||||
|
[self resetCursorRects];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setBounds: (NSRect)b
|
- (void) setBounds: (NSRect)b
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue