* Fixed alignment in round shaded buttons
authorMatt Ebb <matt@mke3.net>
Mon, 22 Dec 2008 05:51:34 +0000 (05:51 +0000)
committerMatt Ebb <matt@mke3.net>
Mon, 22 Dec 2008 05:51:34 +0000 (05:51 +0000)
source/blender/editors/interface/interface.c

index 4ac979d3a5cffdac240a09d2be12b9cdb002cd2b..75526ff8bb4e84c7676b0c2f3afd9431ea2c2666 100644 (file)
@@ -1725,7 +1725,7 @@ void uiBlockEndAlign(uiBlock *block)
        int flag= 0, cols=0, rows=0;
        int theme= UI_GetThemeValue(TH_BUT_DRAWTYPE);
        
-       if ( !(ELEM3(theme, TH_MINIMAL, TH_SHADED, TH_ROUNDED)) ) {
+       if ( !(ELEM4(theme, TH_MINIMAL, TH_SHADED, TH_ROUNDED, TH_ROUNDSHADED)) ) {
                block->flag &= ~UI_BUT_ALIGN;   // all 4 flags
                return;
        }