diff options
author | Ton Roosendaal <ton@blender.org> | 2011-06-14 19:55:46 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-06-14 19:55:46 +0400 |
commit | cc2c511207bafdd0116cc7bf264e9bd48a4bf75f (patch) | |
tree | 41a4f64f0cfc23b25e97ad22b4b7a2cd04d00f0d /source/blender/editors/space_node/node_edit.c | |
parent | 23e2bfed239256994a6daf2ca5a08298e7029681 (diff) |
Nodes display now follow 'DPI' user pref too
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
-rw-r--r-- | source/blender/editors/space_node/node_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c index e539334c282..46c66c55d51 100644 --- a/source/blender/editors/space_node/node_edit.c +++ b/source/blender/editors/space_node/node_edit.c @@ -1332,7 +1332,7 @@ static int node_resize_modal(bContext *C, wmOperator *op, wmEvent *event) } else { node->width= nsw->oldwidth + mx - nsw->mxstart; - CLAMP(node->width, node->typeinfo->minwidth, node->typeinfo->maxwidth); + CLAMP(node->width, UI_DPI_FAC*node->typeinfo->minwidth, UI_DPI_FAC*node->typeinfo->maxwidth); } } |