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
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-06-13 16:17:56 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-13 16:17:56 +0300
commit1664ccb6752adf1bcf326b72d1230aa9b667a1fb (patch)
tree0a2c5d2ae22ffc40f7c537c1695c44f36f061961
parent8f8205584d8e64749410b5868771291eb4c14b4c (diff)
Fix flexible spacer distance
Introduced on 0bce173bc7e9bb6d6cac.
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index d321cbbb89e..3b281315e38 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -243,7 +243,7 @@ static void ui_update_flexible_spacing(const ARegion *region, uiBlock *block)
rcti rect;
ui_but_to_pixelrect(&rect, region, block, block->buttons.last);
- const float buttons_width = (float)rect.xmax + 2 * UI_HEADER_OFFSET;
+ const float buttons_width = (float)rect.xmax + UI_HEADER_OFFSET;
const float region_width = (float)region->sizex * U.dpi_fac;
if (region_width <= buttons_width) {