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:
authorHarley Acheson <harley>2019-01-04 17:08:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-04 17:14:21 +0300
commitce40b0b3f5279e97845f27bde4432c15d3de26bc (patch)
tree3506014c270a865127c7397ca19697006071fa0e /source/blender/editors/space_node/drawnode.c
parente97700ef748617705d3b97487a3193e73692293b (diff)
UI: fix too wide resize area on edges of nodes, interfering with content.
Differential Revision: https://developer.blender.org/D3997
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
-rw-r--r--source/blender/editors/space_node/drawnode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 10ec293082f..ec47d140193 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -270,7 +270,7 @@ static int node_resize_area_default(bNode *node, int x, int y)
return 0;
}
else {
- const float size = 10.0f;
+ const float size = NODE_RESIZE_MARGIN;
rctf totr = node->totr;
int dir = 0;