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-04-01 05:27:22 +0400
committerMatt Ebb <matt@mke3.net>2010-04-01 05:27:22 +0400
commit8f5438dcd4faf07583c359b456a9b2db85a0c4d9 (patch)
tree8a8f0ab1df73ffec6e402068b6b009e6eddc341f /source/blender/windowmanager/intern/wm_dragdrop.c
parentea0e0b3f15852a062a0b6578f729d768e848f7d1 (diff)
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.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_dragdrop.c')
-rw-r--r--source/blender/windowmanager/intern/wm_dragdrop.c6
1 files changed, 3 insertions, 3 deletions
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);