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:
parent
3d973d01fa
commit
4eb10e414b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue