bugfix [#26126] Transparency panel label issue
authorCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 05:16:04 +0000 (05:16 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 05:16:04 +0000 (05:16 +0000)
source/blender/editors/screen/area.c

index 4784f19..02e5068 100644 (file)
@@ -1284,6 +1284,9 @@ void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char *
                                panel->labelofs= xco - triangle;
                                panel->layout= NULL;
                        }
+                       else {
+                               panel->labelofs= 0;
+                       }
 
                        if(open) {
                                short panelContext;