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:
authorJoshua Leung <aligorith@gmail.com>2017-08-02 16:25:55 +0300
committerJoshua Leung <aligorith@gmail.com>2017-08-02 16:25:55 +0300
commit440bce242d9540859b073af7f6fb99c17fc4eeed (patch)
tree8829fe4e9b32523d0b75b327d02a08fcb77720f5 /source/blender/editors/animation/keyframes_draw.c
parentb569151ffb0043ea8f38782d663c78a03187b439 (diff)
Keyframe Drawing: Fix 2.7 -> 2.8 regressions
* Outlines of keyframes were too thick and ugly * Size differences between keyframe types was being swallowed by the pixel-fudge factor, leaving colour as the only distinguishing factor (bad!)
Diffstat (limited to 'source/blender/editors/animation/keyframes_draw.c')
-rw-r--r--source/blender/editors/animation/keyframes_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index 97e5597326e..8d7c32846b3 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -492,7 +492,7 @@ void draw_keyframe_shape(float x, float y, float size, bool sel, short key_type,
break;
default:
- size -= 0.5f * key_type;
+ size -= 0.8f * key_type;
}
unsigned char fill_col[4];