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:
authorPablo Vazquez <contact@pablovazquez.art>2019-02-08 18:18:46 +0300
committerPablo Vazquez <contact@pablovazquez.art>2019-02-08 18:18:46 +0300
commit5228a10f6d4256e9261eb8fcad04a46688690520 (patch)
tree050b5e277d53ff1664f13ca9e702d7549ea59bd3 /source/blender/editors/animation
parente925c20f2facd266c4898d3533d17ed30f159f2a (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')
-rw-r--r--source/blender/editors/animation/anim_markers.c2
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);