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>2004-11-05 20:18:17 +0300
committerTon Roosendaal <ton@blender.org>2004-11-05 20:18:17 +0300
commite9017926c90e71544798bd14a543043cdff824d7 (patch)
treeb4e3507a2444498930185e573600c95888b7cc34 /source/blender/src/interface.c
parentc013711c073e7a6e9470c34f6bac73c9af12c3a9 (diff)
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
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index 738fea7db6e..ede18300a8d 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -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?