Fix a few DPI/retina scaling issues in the graph editor and movie clip editor.

Patch #35889 by David Jeske.
This commit is contained in:
2013-06-27 11:29:53 +00:00
parent d665c46a64
commit fcea195baa
4 changed files with 42 additions and 42 deletions

View File

@@ -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);