Blender Git Loki
Git Commits -> Revision 4ec467d
Revision 4ec467d by Julian Eisel (master) May 7, 2018, 09:42 (GMT) |
UI: Draw scroll-bars overlapping with editor content Scroll-bars used to draw in a little extra space in the editor, causing buttons to jump a bit when they appeared/disappeared. Now they draw on top of the buttons, just small enough to avoid bigger overlaps. Followup commits will do further adjustments. With this we can get rid of a hack that was calling the (often Python defined) panel definition - the panel 'draw' callback - twice. |
Commit Details:
Full Hash: 4ec467d3b52744ba2aa4f938973efa27202b23ee
Parent Commit: 2349b97
Lines Changed: +117, -152
6 Modified Paths:
/source/blender/editors/include/UI_view2d.h (+5, -5) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+5, -0) (Diff)
/source/blender/editors/interface/view2d.c (+5, -37) (Diff)
/source/blender/editors/interface/view2d_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+98, -108) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -1) (Diff)
/source/blender/editors/interface/interface_panel.c (+5, -0) (Diff)
/source/blender/editors/interface/view2d.c (+5, -37) (Diff)
/source/blender/editors/interface/view2d_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+98, -108) (Diff)