* Fixed alignment in round shaded buttons

This commit is contained in:
2008-12-22 05:51:34 +00:00
parent 1c3e358fd8
commit e898bcad79

View 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;
}