Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-27 15:29:53 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-06-27 15:29:53 +0400
commitfcea195baa9943e9e42676b1710d8a5e5b4599aa (patch)
tree57469694d2d35decc2438025d24d55ef018587ab /source/blender/editors/space_clip/clip_dopesheet_draw.c
parentd665c46a648d04cf1b79734908774a11933f2c42 (diff)
Fix a few DPI/retina scaling issues in the graph editor and movie clip editor.
Patch #35889 by David Jeske.
Diffstat (limited to 'source/blender/editors/space_clip/clip_dopesheet_draw.c')
-rw-r--r--source/blender/editors/space_clip/clip_dopesheet_draw.c2
1 files changed, 1 insertions, 1 deletions
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);