Just a little annoyance, but the zoom to selected simply doesn't work with the new scrollbar. Just adding this extra padding seems to work nice. Also implemented a more complex padding behavior, but after testing I found it just unnecessary and I reverted my patch to this simple solution.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
LGTM apart from the note.
| source/blender/editors/space_graph/graph_edit.c | ||
|---|---|---|
| 298–303 | Initialising to 0 doesn't make much sense to me here. Why not default to V2D_SCROLL_HANDLE_HEIGHT instead? | |
Comment Actions
Fix seems fine, thanks! I'll push a slightly different version which does the same in effect.