diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-05-04 13:30:26 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-05-04 13:30:26 +0300 |
commit | b07c2961fac3a461c4bc42115dc05d87df4b7143 (patch) | |
tree | 74c4d33aaa7088835bc9101e0ee6f27ec4bdb7e3 /source/blender/editors/screen/area.c | |
parent | 711e2f71a80923e0b1d5acc0b6634c0b326238b6 (diff) |
Don't scale metadata font with zoom - makes strings not consistently
adhere to the string length
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 89b6d3b4f73..a0ab8de0101 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -2208,7 +2208,7 @@ void ED_region_image_metadata_draw(int x, int y, ImBuf *ibuf, rctf frame, float glTranslatef(x, y, 0.0f); glScalef(zoomx, zoomy, 1.0f); - BLF_size(blf_mono_font, style->widgetlabel.points * zoomy * 1.5f, U.dpi); + BLF_size(blf_mono_font, style->widgetlabel.points * 1.5f, U.dpi); /* *** upper box*** */ |