forked from bartvdbraak/blender
UI: Nudge Curve Editor Away from Scrollbar
This patch increases left and right padding of the Curve Editor to avoid scrollbars Reviewed by Brecht Van Lommel
This commit is contained in:
parent
0e09075e39
commit
83d35c25d0
@ -1 +1 @@
|
||||
Subproject commit 199b3a7c2f03a3af6f612e092d3359f7b6f288cc
|
||||
Subproject commit 2eab3be9bbdb2d27e36cfde38fdcba5fc264f223
|
@ -1 +1 @@
|
||||
Subproject commit 3683429de050b8026835d17ae7288a436c31cdb6
|
||||
Subproject commit fa8787a67ee6b34712896637edb0574973447a9b
|
@ -1 +1 @@
|
||||
Subproject commit ca68e1d4e01d343b1758118b500bdc92eaea30ee
|
||||
Subproject commit f72ec13e35dbd635c08ca331c8fac54086b0811d
|
@ -4669,6 +4669,9 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
|
||||
break;
|
||||
|
||||
case UI_BTYPE_CURVE:
|
||||
/* do not draw right to edge of rect */
|
||||
rect->xmin += (0.2f * UI_UNIT_X);
|
||||
rect->xmax -= (0.2f * UI_UNIT_X);
|
||||
ui_draw_but_CURVE(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 3ee979c1eb0752bae62295c78e367660ae084bde
|
||||
Subproject commit 2afbb8ec472cac5102eb239f57b006f8c9387685
|
Loading…
Reference in New Issue
Block a user