diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-15 01:40:22 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-02-15 01:40:22 +0400 |
commit | 40720fcdef87e914ff608234f39f58ff25cd73bd (patch) | |
tree | f82fb4d737427559bb3de842fd464669fd218031 /source/blender/editors/space_view3d | |
parent | cb75d64f7d223e55e257278b8d0acd62ffeea882 (diff) |
Fix 3d view DPI issue with object name overlapping axis icon.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index ff63f16d125..768de3b06ef 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -871,7 +871,7 @@ static void draw_viewport_name(ARegion *ar, View3D *v3d, rcti *rect) static void draw_selected_name(Scene *scene, Object *ob, rcti *rect) { char info[256], *markern; - short offset = 30 + rect->xmin; + short offset = 1.5f*UI_UNIT_X + rect->xmin; /* get name of marker on current frame (if available) */ markern = BKE_scene_find_marker_name(scene, CFRA); |