diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-03-05 04:18:12 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-03-05 04:18:12 +0300 |
commit | 75bafb1fcc61ee52e37f2bad72816a1cd198e099 (patch) | |
tree | ae7bcebce2bf89fbdd4e2810e3fc433f91138301 /source/blender/editors/space_buttons/buttons_header.c | |
parent | 4b744ad9cb4bdd36754816127202fe500510ab7f (diff) |
Bugfix #21215: Panning Properties header shows unnecessary space.
There was an additional 'magic number' offset for the header width, from the days when there was the frame number and subtabs in the header.
--
Removed an obsolete and commented out line.
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_header.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c index 3e479c63f20..18f266f85c6 100644 --- a/source/blender/editors/space_buttons/buttons_header.c +++ b/source/blender/editors/space_buttons/buttons_header.c @@ -138,7 +138,7 @@ void buttons_header_buttons(const bContext *C, ARegion *ar) uiBlockEndAlign(block); /* always as last */ - UI_view2d_totRect_set(&ar->v2d, xco+XIC+80, ar->v2d.tot.ymax-ar->v2d.tot.ymin); + UI_view2d_totRect_set(&ar->v2d, xco+(XIC/2), ar->v2d.tot.ymax-ar->v2d.tot.ymin); uiEndBlock(C, block); uiDrawBlock(C, block); |