Fix wrong use of region size without pixel-size applied
Didn't cause visible issues, because the layout uses spacers to right-align text, which happens to use the region size with pixel-size applied for calculations.
This commit is contained in:
@@ -554,7 +554,7 @@ static void spreadsheet_footer_region_draw(const bContext *C, ARegion *region)
|
||||
UI_LAYOUT_HEADER,
|
||||
UI_HEADER_OFFSET,
|
||||
region->winy - (region->winy - UI_UNIT_Y) / 2.0f,
|
||||
region->sizex,
|
||||
region->winx,
|
||||
1,
|
||||
0,
|
||||
style);
|
||||
|
Reference in New Issue
Block a user