Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2008-12-22 08:51:34 +0300
committerMatt Ebb <matt@mke3.net>2008-12-22 08:51:34 +0300
commite898bcad79618da5ca894d0ed5a5710657819871 (patch)
tree47bf899a3719679045a55a1ec51295a4ab6d1428 /source
parent1c3e358fd89e8874358e8df7a6a0b43b9f6725b4 (diff)
* Fixed alignment in round shaded buttons
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 4ac979d3a5c..75526ff8bb4 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -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;
}