From fcea195baa9943e9e42676b1710d8a5e5b4599aa Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 27 Jun 2013 11:29:53 +0000 Subject: Fix a few DPI/retina scaling issues in the graph editor and movie clip editor. Patch #35889 by David Jeske. --- source/blender/editors/space_clip/clip_dopesheet_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_clip/clip_dopesheet_draw.c') diff --git a/source/blender/editors/space_clip/clip_dopesheet_draw.c b/source/blender/editors/space_clip/clip_dopesheet_draw.c index 382b0b75c5e..059b8ace7b9 100644 --- a/source/blender/editors/space_clip/clip_dopesheet_draw.c +++ b/source/blender/editors/space_clip/clip_dopesheet_draw.c @@ -316,7 +316,7 @@ void clip_draw_dopesheet_channels(const bContext *C, ARegion *ar) */ y = (float) CHANNEL_FIRST; - BLF_size(fontid, 11.0f, U.dpi); + BLF_size(fontid, 11.0f * U.pixelsize, U.dpi); for (channel = dopesheet->channels.first; channel; channel = channel->next) { float yminc = (float) (y - CHANNEL_HEIGHT_HALF); -- cgit v1.2.3