From ab87a4b960bf70ac7def486de5d2c51a4c6af7f1 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Tue, 1 Feb 2011 14:52:20 +0000 Subject: Bookmarks window. No editing yet. svn path=/trunk/netsurf/; revision=11581 --- cocoa/Tree.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cocoa/Tree.m') 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 ) ) ); } -- cgit v1.2.3