From 8f5438dcd4faf07583c359b456a9b2db85a0c4d9 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Thu, 1 Apr 2010 01:27:22 +0000 Subject: Fix [#21775] Double-clicking icons in the file browser doesn't open files Complicated issue, but this should be correct, and testing goes fine. fingers crossed. --- source/blender/windowmanager/intern/wm_dragdrop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/windowmanager/intern/wm_dragdrop.c') diff --git a/source/blender/windowmanager/intern/wm_dragdrop.c b/source/blender/windowmanager/intern/wm_dragdrop.c index cf1e58c52fc..3d519a5609b 100644 --- a/source/blender/windowmanager/intern/wm_dragdrop.c +++ b/source/blender/windowmanager/intern/wm_dragdrop.c @@ -247,10 +247,10 @@ static void wm_drop_operator_draw(char *name, int x, int y) { int width= UI_GetStringWidth(name); - glColor4ub(0, 0, 0, 128); + glColor4ub(0, 0, 0, 50); - uiSetRoundBox(15); - uiRoundBox(x, y, x + width + 8, y + 15, 7); + uiSetRoundBox(15+16); + uiRoundBox(x, y, x + width + 8, y + 15, 4); glColor4ub(255, 255, 255, 255); UI_DrawString(x+4, y+4, name); -- cgit v1.2.3