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
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-10-26 02:29:24 +0400
committerTon Roosendaal <ton@blender.org>2003-10-26 02:29:24 +0400
commitbbd9018ec5b66a36c6fc1c56bd0facd534a029fe (patch)
tree697603e11cabf0b1d86775b15f0d5269cc892446 /source/blender/src/interface.c
parent36668278ac0c0ea8114154f75e63e20f72cc1057 (diff)
- fixed colors of ipokeys in 3d window
- fixed constraint popup menu (used icons) - moved 'full' and 'View3d props' and 'background' items in menu to bottom Hope Matt wont kill me for it, but these were about the only useful ones there... :) - little fix in interface.c for menus...
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index 4b1f056c8ee..33c1b5d608e 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -301,6 +301,7 @@ void uiTextBoundsBlock(uiBlock *block, int addval)
bt= block->buttons.first;
while(bt) {
bt->x2 = i + addval;
+ ui_check_but(bt); // clips text again
bt= bt->next;
}
}
@@ -2637,7 +2638,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
else if(but->type==BLOCK || but->type==MENU) { // automatic opens block button (pulldown)
int time;
if(uevent->event!=LEFTMOUSE ) {
- if(block->auto_open==2) time= 2; // test for toolbox
+ if(block->auto_open==2) time= 1; // test for toolbox
else if(block->auto_open) time= 5*U.menuthreshold2;
else if(U.uiflag & MENUOPENAUTO) time= 5*U.menuthreshold1;
else time= -1;