From 4eb10e414b1d521577d1e12f303d1b9e204b695c Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Fri, 4 Feb 2022 15:23:45 +0100 Subject: 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. --- source/blender/editors/space_spreadsheet/space_spreadsheet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc index 18f383d45fb..357b3e0a8b4 100644 --- a/source/blender/editors/space_spreadsheet/space_spreadsheet.cc +++ b/source/blender/editors/space_spreadsheet/space_spreadsheet.cc @@ -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); -- cgit v1.2.3