Three minor fixes;
- themecolor for the 'bars' in NLA used signed char - global undo, restore pointers for UI accidentally added user values for oops and outliner, causing unused blocks to show used - moved popup menus one pix up or down, it was overlapping the button causing accidental selection of menus
This commit is contained in:
@@ -581,7 +581,7 @@ static void ui_positionblock(uiBlock *block, uiBut *but)
|
||||
else yof= butrct.ymax - block->maxy+centre;
|
||||
}
|
||||
else if(dir1==UI_TOP) {
|
||||
yof= butrct.ymax - block->miny-1;
|
||||
yof= butrct.ymax - block->miny;
|
||||
if(dir2==UI_RIGHT) xof= butrct.xmax - block->maxx;
|
||||
else xof= butrct.xmin - block->minx;
|
||||
// changed direction?
|
||||
@@ -592,7 +592,7 @@ static void ui_positionblock(uiBlock *block, uiBut *but)
|
||||
}
|
||||
}
|
||||
else if(dir1==UI_DOWN) {
|
||||
yof= butrct.ymin - block->maxy+1;
|
||||
yof= butrct.ymin - block->maxy;
|
||||
if(dir2==UI_RIGHT) xof= butrct.xmax - block->maxx;
|
||||
else xof= butrct.xmin - block->minx;
|
||||
// changed direction?
|
||||
|
||||
Reference in New Issue
Block a user