diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-20 21:18:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-20 21:18:48 +0400 |
commit | 3cc2d61689cddf59010a366e075275b7daa4ee58 (patch) | |
tree | 30e4309b78584ec6998b4b3ea56f13023d263b66 /source/blender/editors/screen/area.c | |
parent | 3e495458912ced0420120d7b291f88edf8e7d823 (diff) |
UI:
* Hide enable button in horizontal collapsed panels.
* Fix enable button not being in correct position when zooming.
* Fix n-key panels layout being messed up.
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 2e551a26b73..cf72eaf2cdd 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1004,7 +1004,7 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, char *contex if(vertical) y -= header; - if(pt->draw_header) { + if(pt->draw_header && (open || vertical)) { /* for enabled buttons */ panel->layout= uiBlockLayout(block, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_HEADER, triangle, header+style->panelspace, header, 1, style); |