Blender Git Loki

Git Commits -> Revision ad3d925

Revision ad3d925 by Jacques Lucke (master)
March 18, 2019, 16:28 (GMT)
Fix T62636: Overlapping scrollbar in driver editor

Instead of only `ymin` and `ymax`, `ANIM_channel_draw_widgets`
has a rectangle as input now.
This allows the caller to set a custom width for the channel.

Some space types need the extra space for the scrollbar
(drivers, graph), but the other don't have a scrollbar.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4543

Commit Details:

Full Hash: ad3d9256821c197c44c6565ef2797cf361f12ec9
Parent Commit: 8fb0b9a
Lines Changed: +48, -33

5 Modified Paths:

/source/blender/editors/animation/anim_channels_defines.c (+32, -29) (Diff)
/source/blender/editors/include/ED_anim_api.h (+7, -1) (Diff)
/source/blender/editors/space_action/action_draw.c (+3, -1) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+3, -1) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021