diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-07 10:30:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-07 10:33:04 +0300 |
commit | 5ba6dbfb18245875a8806a2faeb8aeed217f992c (patch) | |
tree | 8485d8d099e39a49ea3f2144bda2087a526afab5 | |
parent | 4d78f5a4a77e71aeb6a7084b64307c9987978dbe (diff) |
Fix graph editor selection tolerance ignoring DPI
-rw-r--r-- | source/blender/editors/space_graph/graph_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c index 13a42f091f6..5ea07c56286 100644 --- a/source/blender/editors/space_graph/graph_select.c +++ b/source/blender/editors/space_graph/graph_select.c @@ -1141,7 +1141,7 @@ typedef enum eGraphVertIndex { /* Tolerance for absolute radius (in pixels) of the vert from the cursor to use */ // TODO: perhaps this should depend a bit on the size that the user set the vertices to be? -#define GVERTSEL_TOL 10 +#define GVERTSEL_TOL (10 * U.pixelsize) /* ....... */ |