parent
374e412813
commit
ed68fee665
Notes:
blender-bot
2023-02-14 00:20:19 +01:00
Referenced by issue #78157, Scrolling in any windows or panel using the right side slider crashes Blender Referenced by issue #78146, Scroll bar use crashes blender
|
@ -1408,8 +1408,10 @@ struct View2DScrollers {
|
|||
int vert_min, vert_max; /* vertical scrollbar */
|
||||
int hor_min, hor_max; /* horizontal scrollbar */
|
||||
|
||||
rcti hor, vert; /* exact size of slider backdrop */
|
||||
int horfull, vertfull; /* set if sliders are full, we don't draw them */
|
||||
/** Exact size of slider backdrop. */
|
||||
rcti hor, vert;
|
||||
/* set if sliders are full, we don't draw them */
|
||||
/* int horfull, vertfull; */ /* UNUSED */
|
||||
};
|
||||
|
||||
/* Calculate relevant scroller properties */
|
||||
|
|
|
@ -1922,6 +1922,9 @@ struct View2DScrollers {
|
|||
/* focus bubbles */
|
||||
int vert_min, vert_max; /* vertical scrollbar */
|
||||
int hor_min, hor_max; /* horizontal scrollbar */
|
||||
|
||||
/* These values are written into, even if we don't use them. */
|
||||
rcti _hor, _vert;
|
||||
};
|
||||
|
||||
/* quick enum for vsm->zone (scroller handles) */
|
||||
|
|
Loading…
Reference in New Issue