diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-02-01 14:52:20 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-02-01 14:52:20 +0000 |
commit | ab87a4b960bf70ac7def486de5d2c51a4c6af7f1 (patch) | |
tree | 34d6773532bcdb139a52a61c14718b9788a61ac8 /cocoa/Tree.m | |
parent | 81e295d8c94c3c2d7c6bcc3d71ae114b4d984ce6 (diff) | |
download | netsurf-ab87a4b960bf70ac7def486de5d2c51a4c6af7f1.tar.gz netsurf-ab87a4b960bf70ac7def486de5d2c51a4c6af7f1.tar.bz2 |
Bookmarks window. No editing yet.
svn path=/trunk/netsurf/; revision=11581
Diffstat (limited to 'cocoa/Tree.m')
-rw-r--r-- | cocoa/Tree.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/Tree.m b/cocoa/Tree.m index b5cbf2068..ce7f89100 100644 --- a/cocoa/Tree.m +++ b/cocoa/Tree.m @@ -18,6 +18,7 @@ #import "cocoa/Tree.h" #import "cocoa/coordinates.h" +#import "cocoa/font.h" #import "desktop/tree.h" @@ -115,6 +116,7 @@ static void tree_get_window_dimensions( int *width, int *height, void *data ) - (void) drawRect: (NSRect) rect inView: (NSView *) view; { + cocoa_set_font_scale_factor( 1.0 ); tree_draw( tree, 0, 0, cocoa_pt_to_px( NSMinX( rect ) ), cocoa_pt_to_px( NSMinY( rect )), cocoa_pt_to_px( NSWidth( rect ) ), cocoa_pt_to_px( NSHeight( rect ) ) ); } |