mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Scroll wheel message sent to scrollers are passed on to text view.
git-svn-id: http://macvim.googlecode.com/svn/trunk@160 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
@@ -1258,4 +1258,11 @@ NSMutableArray *buildMenuAddress(NSMenu *menu)
|
||||
range = newRange;
|
||||
}
|
||||
|
||||
- (void)scrollWheel:(NSEvent *)event
|
||||
{
|
||||
// HACK! Pass message on to the text view.
|
||||
MMWindowController *wc = [[self window] windowController];
|
||||
[[wc textView] scrollWheel:event];
|
||||
}
|
||||
|
||||
@end // MMScroller
|
||||
|
||||
Reference in New Issue
Block a user