From db701eca564c54b8c8e3fa3dfdc327e4a3f1c862 Mon Sep 17 00:00:00 2001 From: Robert Jordan Date: Sun, 17 May 2015 12:41:21 -0400 Subject: [PATCH] Fixed editor bottom toolbar right button alignment The button was improperly sized. I just switched 2 sets of values to fix that. --- src/windows/editor_bottom_toolbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/windows/editor_bottom_toolbar.c b/src/windows/editor_bottom_toolbar.c index c829456427..2c2f41d2f1 100644 --- a/src/windows/editor_bottom_toolbar.c +++ b/src/windows/editor_bottom_toolbar.c @@ -392,10 +392,10 @@ void window_editor_bottom_toolbar_invalidate() { window_get_register(w); sint16 screenWidth = RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_WIDTH, sint16); - window_editor_bottom_toolbar_widgets[WIDX_NEXT_IMAGE].left = screenWidth - 198; - window_editor_bottom_toolbar_widgets[WIDX_NEXT_IMAGE].right = screenWidth - 3; - window_editor_bottom_toolbar_widgets[WIDX_NEXT_STEP_BUTTON].left = screenWidth - 200; - window_editor_bottom_toolbar_widgets[WIDX_NEXT_STEP_BUTTON].right = screenWidth - 1; + window_editor_bottom_toolbar_widgets[WIDX_NEXT_IMAGE].left = screenWidth - 200; + window_editor_bottom_toolbar_widgets[WIDX_NEXT_IMAGE].right = screenWidth - 1; + window_editor_bottom_toolbar_widgets[WIDX_NEXT_STEP_BUTTON].left = screenWidth - 198; + window_editor_bottom_toolbar_widgets[WIDX_NEXT_STEP_BUTTON].right = screenWidth - 3; window_editor_bottom_toolbar_widgets[WIDX_PREVIOUS_STEP_BUTTON].type = WWT_FLATBTN; window_editor_bottom_toolbar_widgets[WIDX_NEXT_STEP_BUTTON].type = WWT_FLATBTN;