Blender Git Commit Log
Git Commits -> Revision 51efeb6
Revision 51efeb6 by Julian Eisel (master) May 7, 2018, 09:42 (GMT) |
UI: Hide & shrink scroll-bars based on cursor position Scroll-bars are now hidden unless the cursor approaches them, in which case they smoothly grow and become more & more visible. Note that since 0d309144020168e55, scroll-bars are drawn on top of editor contents. There's no more jumping of buttons when scroll-bars appear. Technical notes: * AZones are used to adjust scrollbars based on mouse movements We may want to support screen level AZones if we want scrollbars to also smoothly appear when approaching them from a different area. I also plan to make further changes to AZones to clean up stuff a bit. * Had to move AZone handling to a post ARegion init stage, since we need the updated View2D data from there. * View2D masks and scroller rectangles are now updated on every redraw. It's cheap to do that though. |
Commit Details:
Full Hash: 51efeb683451d896531baac949de65043edff0b6
Parent Commit: 4ec467d
Lines Changed: +214, -50
7 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+2, -0) (Diff)
/source/blender/editors/include/ED_screen_types.h (+21, -5) (Diff)
/source/blender/editors/include/UI_view2d.h (+2, -0) (Diff)
/source/blender/editors/interface/view2d.c (+30, -7) (Diff)
/source/blender/editors/screen/area.c (+98, -38) (Diff)
/source/blender/editors/screen/screen_ops.c (+56, -0) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+5, -0) (Diff)
/source/blender/editors/include/ED_screen_types.h (+21, -5) (Diff)
/source/blender/editors/include/UI_view2d.h (+2, -0) (Diff)
/source/blender/editors/interface/view2d.c (+30, -7) (Diff)
/source/blender/editors/screen/area.c (+98, -38) (Diff)
/source/blender/editors/screen/screen_ops.c (+56, -0) (Diff)
/source/blender/makesdna/DNA_view2d_types.h (+5, -0) (Diff)