Merge pull request #148 from github/fix-build-on-10-9

Declare the property so it can build on 10.9
This commit is contained in:
Josh Abernathy 2014-08-20 17:11:45 -04:00
Родитель 675b604702 717a420c01
Коммит db856d045a
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -8,6 +8,12 @@
#import "RBLScrolling.h"
@interface NSScrollView (RBLScrolling1010APIs)
@property NSEdgeInsets contentInsets;
@end
BOOL RBLScrollRectInViewToVisible(NSView *view, NSRect rect) {
NSScrollView *scrollView = view.enclosingScrollView;
NSRect visibleRect = view.visibleRect;