diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-12-30 23:15:07 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-12-30 23:15:07 +0300 |
commit | 85ddbc451478cbaaf4961463967b7ca8b74868f1 (patch) | |
tree | aa3336be9acabafdd84288fb98556c83e320e362 /source | |
parent | 82a1469e4b6d0f2d279ab8a7cbe5bc85e0c23f0d (diff) |
Updated the spacebar toolbox so the fonts are moved up 2 pixels.
It was causing funky artifacts on some letters that dropped down into the
background.
Here is the diff
Kent
Index: toolbox.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
retrieving revision 1.5
diff -u -r1.5 toolbox.c
--- toolbox.c 22 Dec 2002 13:43:21 -0000 1.5
+++ toolbox.c 30 Dec 2002 20:13:51 -0000
@@ -506,7 +506,7 @@
oldcursor= get_cursor();
set_cursor(CURSOR_STD);
- tbfontyofs= (TBOXH-11)/2; /* toolbox, hier stond ooit getheigh */
+ tbfontyofs= (TBOXH-11)/2 +2; /* toolbox, hier stond ooit getheigh */
}
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/toolbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index b35685352fb..5c4b85864be 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -506,7 +506,7 @@ void bgnpupdraw(int startx, int starty, int endx, int endy) oldcursor= get_cursor(); set_cursor(CURSOR_STD); - tbfontyofs= (TBOXH-11)/2; /* toolbox, hier stond ooit getheigh */ + tbfontyofs= (TBOXH-11)/2 +2; /* toolbox, hier stond ooit getheigh */ } void endpupdraw(void) |