diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 13:00:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 13:00:36 +0400 |
commit | 07619d8fc0cf13ee852db9a793a02b8955068636 (patch) | |
tree | cd5bed2e47e1a9b3662d3ce18016e97bd58c5700 /source/blender/blenloader | |
parent | 50d24425cea55c8266fa01964f6348a6f1d70f80 (diff) |
with the new scalable UI. hard coded values were still used for resizing the headers, with DPI of 56 the headers could not be un-hidden.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index c15acb4f5ca..bef56aabbe8 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6280,7 +6280,7 @@ static void area_add_header_region(ScrArea *sa, ListBase *lb) BLI_addtail(lb, ar); ar->regiontype= RGN_TYPE_HEADER; - if(sa->headertype==1) + if(sa->headertype==HEADERDOWN) ar->alignment= RGN_ALIGN_BOTTOM; else ar->alignment= RGN_ALIGN_TOP; |