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:
authorLukas Tönne <lukas.toenne@gmail.com>2021-06-07 18:25:48 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2021-06-07 18:25:48 +0300
commitd85adbe9297e5da74204ff4c5ad03470bc207d0b (patch)
treec084c800002f9b573f11a96263da33fb3ac85d2c
parentf1f53f91221fab082f96408788e6b2ab867b3d04 (diff)
Tweak settings to reduce max. node scroll speed.node-editor-edge-pan
Reduced the max. speed when edge-panning in the node editor from 70 to 40 UI units. Increased the fade-in delay from 0.6 to 1.0 seconds.
-rw-r--r--source/blender/editors/include/ED_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_node.h b/source/blender/editors/include/ED_node.h
index cbb6c67b908..9212ae9ad41 100644
--- a/source/blender/editors/include/ED_node.h
+++ b/source/blender/editors/include/ED_node.h
@@ -52,8 +52,8 @@ typedef enum {
#define NODE_EDGE_PAN_INSIDE_PAD 2
#define NODE_EDGE_PAN_OUTSIDE_PAD 0 /* Disable clamping for node panning, use whole screen */
#define NODE_EDGE_PAN_SPEED_RAMP 1
-#define NODE_EDGE_PAN_MAX_SPEED 70 /* In UI units per second, slower than default */
-#define NODE_EDGE_PAN_DELAY 0.6f
+#define NODE_EDGE_PAN_MAX_SPEED 40 /* In UI units per second, slower than default */
+#define NODE_EDGE_PAN_DELAY 1.0f
/* space_node.c */