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-12-14 21:18:31 +0300
committerTon Roosendaal <ton@blender.org>2004-12-14 21:18:31 +0300
commitb5d9b1e72d4e0a991acbc8c8d606b6ed8ccfa48d (patch)
treeaa56b999510de9b8da85e05ad67634f77f384783 /source/blender/src/editscreen.c
parentf3106212e86476fcbd417d3d2d8876625b6e029a (diff)
Small fixes for UI;
- Add UV Sphere now aligns with view, as do all primitives - Small drawing error in edges between blender areas (black lines were 2 pixels too short) - Replaced the heuristics in opening sublevel menus, to be less frustrating. It now keeps sublevel open while mouse moves within the triangle defined by original mouse location (before moving) and the closest vertical edge of the new sub menu. Works nice for toolbox and pulldowns.
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 4aeca57a0ac..2134b45a840 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -3036,11 +3036,11 @@ void drawscredge_area(ScrArea *sa)
else sdrawline(x1, y1, x1, y2);
}
/* top border area */
- if(sa->headertype==HEADERTOP) sdrawline(x1+SCR_ROUND, y2, x2-SCR_ROUND+1, y2);
+ if(sa->headertype==HEADERTOP) sdrawline(x1+SCR_ROUND-3, y2, x2-SCR_ROUND+3, y2);
else sdrawline(x1, y2, x2, y2);
/* bottom border area */
- if(sa->headertype==HEADERDOWN) sdrawline(x1+SCR_ROUND, y1, x2-SCR_ROUND+1, y1);
+ if(sa->headertype==HEADERDOWN) sdrawline(x1+SCR_ROUND-3, y1, x2-SCR_ROUND+3, y1);
else sdrawline(x1, y1, x2, y1);
}