Part of T49043
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- imm.view2d.c.UI_view2d_scrollers_draw
- Build Status
Buildable 297 Build 297: arc lint + arc unit
Event Timeline
Comment Actions
- Horizontal scrolbars now use immedaite mode
- vertical scrollbars now use immediate mode
Comment Actions
Please review this. Please give me a response for the comment at line 1765.
| source/blender/editors/interface/view2d.c | ||
|---|---|---|
| 1811–1812 | This seems a little odd to me that we would draw the scrollbars if and only if the alpha channel is fully visible. Shouldn't it be col[3] != 0? Or do we want to leave it like this. Same goes for line 1873 | |
Comment Actions
Would be better to get TH_BACK only once in this function.
| source/blender/editors/interface/view2d.c | ||
|---|---|---|
| 1811–1812 | From the comment above this clears a rect behind the scrollers. If not opaque it lets the existing pixels show through. | |
Comment Actions
- Merge branch 'blender2.8' into imm.view2d.c.UI_view2d_scrollers_draw
- Merge branch 'blender2.8' into imm.view2d.c.UI_view2d_scrollers_draw
- small cleanup