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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-25 03:09:29 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-25 03:09:29 +0400
commit2516497ca267d5b215cb0a2dd6f34efa662278b0 (patch)
tree0cf787cf10f273b30b2db079d465e824db4f71fc /source/blender/editors/space_node/node_draw.c
parent2043d801e88c8f56b0153f8acf0cccb554f0fa0c (diff)
Fix two more high DPI / retina draw issues with running jobs in info header and
the node tree name in the node editor.
Diffstat (limited to 'source/blender/editors/space_node/node_draw.c')
-rw-r--r--source/blender/editors/space_node/node_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c
index 3db1555757c..1f98d0a4176 100644
--- a/source/blender/editors/space_node/node_draw.c
+++ b/source/blender/editors/space_node/node_draw.c
@@ -1197,7 +1197,7 @@ static void draw_tree_path(SpaceNode *snode)
ED_node_tree_path_get_fixedbuf(snode, info, sizeof(info));
UI_ThemeColor(TH_TEXT_HI);
- BLF_draw_default(30, 30, 0.0f, info, sizeof(info));
+ BLF_draw_default(1.5f * UI_UNIT_X, 1.5f * UI_UNIT_Y, 0.0f, info, sizeof(info));
}
static void snode_setup_v2d(SpaceNode *snode, ARegion *ar, float center[2])