code cleanup: replace macro for BLI_rect size/center with inline functions.
This commit is contained in:
@@ -537,7 +537,7 @@ static void file_ui_area_draw(const bContext *C, ARegion *ar)
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
/* scrolling here is just annoying, disable it */
|
||||
ar->v2d.cur.ymax = BLI_RCT_SIZE_Y(&ar->v2d.cur);
|
||||
ar->v2d.cur.ymax = BLI_rctf_size_y(&ar->v2d.cur);
|
||||
ar->v2d.cur.ymin = 0;
|
||||
|
||||
/* set view2d view matrix for scrolling (without scrollers) */
|
||||
|
Reference in New Issue
Block a user