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:
-rw-r--r--source/blender/editors/space_node/node_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 0c7b3daf611..006554f230e 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -848,8 +848,8 @@ static void node_resize_init(bContext *C, wmOperator *op, const wmEvent *UNUSED(
NodeSizeWidget *nsw = MEM_callocN(sizeof(NodeSizeWidget), "size widget op data");
op->customdata = nsw;
- nsw->mxstart = snode->cursor[0];
- nsw->mystart = snode->cursor[1];
+ nsw->mxstart = snode->cursor[0] * UI_DPI_FAC;
+ nsw->mystart = snode->cursor[1] * UI_DPI_FAC;
/* store old */
nsw->oldlocx = node->locx;