Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-02-04 17:23:45 +0300
committerJulian Eisel <julian@blender.org>2022-02-04 17:29:52 +0300
commit4eb10e414b1d521577d1e12f303d1b9e204b695c (patch)
tree1ac0835f0fb2ce19148e2c6a7f5caec5b8c0b3c7 /source
parent3d973d01fa62127f3ee10a11893fd9ce07772184 (diff)
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.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_spreadsheet/space_spreadsheet.cc2
1 files changed, 1 insertions, 1 deletions
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);