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:
Julian Eisel 2022-02-04 15:23:45 +01:00
parent 3d973d01fa
commit 4eb10e414b
1 changed files with 1 additions and 1 deletions

View File

@ -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);