diff options
author | Richard Antalik <richardantalik@gmail.com> | 2020-03-19 02:24:09 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-03-19 02:24:09 +0300 |
commit | 271231f58ee376b576d72e3ecdb68899bb84d724 (patch) | |
tree | e0a9021e6a9ad43470b829c789051445a028d033 /source/blender/editors/space_sequencer/sequencer_edit.c | |
parent | 348d2fa09e0c01d62372f5999b62d06ac3b810f9 (diff) |
VSE: Strip drawing improvements
This patch include changes:
- Thicker and clearer selection indication
- Slimmer handles
- More transparent muted strips
- Trim frame number is drawn inside the strip
- Strip text is drawn in upper part of strip
- Color strips now have specific color, with chosen color drawn under strip text
- Transition strip will use color of input strips showing direction of transition
- Selecting effect strip will highlight input strips
- Selecting multicam strips will highlight target channel
- Missing media state is now indicated by a red line drawn on the top part of the strip
- A checkerboard pattern is now drawn on the outsides of the meta range
- Hold still regions are now always drawn if existent, with a darker shade of the strip’s background color
Author: Alessio Monti di Sopra <a.monti>
Reviewed By: ISS
Differential Revision: https://developer.blender.org/D6883
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_edit.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 564d5f9c6b5..769c74bb82c 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -407,7 +407,7 @@ Sequence *find_nearest_seq(Scene *scene, View2D *v2d, int *hand, const int mval[ /* clamp handles to defined size in pixel space */ - handsize = seq->handsize; + handsize = 2.0f * sequence_handle_size_get_clamped(seq, pixelx); displen = (float)abs(seq->startdisp - seq->enddisp); /* don't even try to grab the handles of small strips */ |