diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 20:53:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-18 20:53:46 +0400 |
commit | 63f143a3ccf1a411951730f85efbdd84d2076a12 (patch) | |
tree | 6d5fd69566525ab88a685ecf4e82dcdb473e9f11 /source/blender/editors/space_node/node_templates.c | |
parent | 27b4b45543c0f7690a1978a60591a0b5c0f1adbb (diff) |
use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.
Diffstat (limited to 'source/blender/editors/space_node/node_templates.c')
-rw-r--r-- | source/blender/editors/space_node/node_templates.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_templates.c b/source/blender/editors/space_node/node_templates.c index a8fe8318f22..989b3999018 100644 --- a/source/blender/editors/space_node/node_templates.c +++ b/source/blender/editors/space_node/node_templates.c @@ -596,7 +596,7 @@ static void ui_node_draw_input(uiLayout *layout, bContext *C, bNodeTree *ntree, uiItemL(row, "", ICON_BLANK1); bt = block->buttons.last; - bt->x2 = UI_UNIT_X / 2; + bt->rect.xmax = UI_UNIT_X / 2; uiBlockSetEmboss(block, UI_EMBOSS); } |