Fix graph editor selection tolerance ignoring DPI

This commit is contained in:
Campbell Barton
2019-05-07 17:30:56 +10:00
parent 4d78f5a4a7
commit 5ba6dbfb18

View File

@@ -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)
/* ....... */