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:
authorMatt Ebb <matt@mke3.net>2010-03-09 10:03:58 +0300
committerMatt Ebb <matt@mke3.net>2010-03-09 10:03:58 +0300
commit74d58017e6b725de5120f7a07ff950b38f7f31f1 (patch)
tree69e578ce42d47bea6ac3f26e8d2761af8a66bffe /source/blender/editors/space_file/file_draw.c
parente8f32d0c051135a547dfcd7d4fc7e39b6fbf0a7a (diff)
Fix tiny drawing offset in file selector
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
-rw-r--r--source/blender/editors/space_file/file_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index cd0571d4219..af836db398d 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -238,7 +238,7 @@ static void draw_tile(int sx, int sy, int width, int height, int colorid, int sh
{
UI_ThemeColorShade(colorid, shade);
uiSetRoundBox(15);
- uiRoundBox(sx, sy - height, sx + width, sy, 6);
+ uiRoundBox(sx, sy - height, sx + width, sy, 5);
}
#define FILE_SHORTEN_END 0
@@ -548,10 +548,10 @@ void file_draw_list(const bContext *C, ARegion *ar)
if (params->active_file == i) {
if (file->flags & ACTIVE) colorid= TH_HILITE;
else colorid = TH_BACK;
- draw_tile(sx, sy-3, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,20);
+ draw_tile(sx, sy-1, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,20);
} else if (file->flags & ACTIVE) {
colorid = TH_HILITE;
- draw_tile(sx, sy-3, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,0);
+ draw_tile(sx, sy-1, layout->tile_w+4, sfile->layout->tile_h+layout->tile_border_y, colorid,0);
}
}
uiSetRoundBox(0);