diff options
author | Pablo Vazquez <contact@pablovazquez.art> | 2019-02-08 18:18:46 +0300 |
---|---|---|
committer | Pablo Vazquez <contact@pablovazquez.art> | 2019-02-08 18:18:46 +0300 |
commit | 5228a10f6d4256e9261eb8fcad04a46688690520 (patch) | |
tree | 050b5e277d53ff1664f13ca9e702d7549ea59bd3 /source/blender/editors/animation/anim_markers.c | |
parent | e925c20f2facd266c4898d3533d17ed30f159f2a (diff) |
UI: Marker position slightly offset.
Tested on various interface sizes and thick lines.
Reported by Blender Studio animators.
Diffstat (limited to 'source/blender/editors/animation/anim_markers.c')
-rw-r--r-- | source/blender/editors/animation/anim_markers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c index e2e7ada7185..c6acfa51caa 100644 --- a/source/blender/editors/animation/anim_markers.c +++ b/source/blender/editors/animation/anim_markers.c @@ -435,7 +435,7 @@ static void draw_marker( ICON_MARKER; } - UI_icon_draw(xpos - 0.45f * UI_DPI_ICON_SIZE, yoffs + UI_DPI_ICON_SIZE, icon_id); + UI_icon_draw(xpos - 0.55f * UI_DPI_ICON_SIZE, yoffs + UI_DPI_ICON_SIZE, icon_id); GPU_blend(false); |