@@ -145,7 +145,7 @@ Editor::Editor() :
145
145
m_widgets.push_back (std::move (overlay_widget));
146
146
147
147
auto grid_size_widget = std::make_unique<ButtonWidget>(" images/engine/editor/grid_button.png" ,
148
- Vector (110 , 10 ),
148
+ Vector (64 , 0 ),
149
149
[this ] {
150
150
auto & snap_grid_size = g_config->editor_selected_snap_grid_size ;
151
151
if (snap_grid_size == 0 )
@@ -159,7 +159,7 @@ Editor::Editor() :
159
159
m_widgets.insert (m_widgets.begin () + 2 , std::move (grid_size_widget));
160
160
161
161
auto play_button = std::make_unique<ButtonWidget>(" images/engine/editor/play_button.png" ,
162
- Vector (160 , 10 ), [this ] { m_test_request = true ; });
162
+ Vector (96 , 0 ), [this ] { m_test_request = true ; });
163
163
164
164
m_play_widget = play_button.get ();
165
165
@@ -1069,9 +1069,9 @@ Editor::retoggle_undo_tracking()
1069
1069
{
1070
1070
// Add undo/redo button widgets.
1071
1071
auto undo_button_widget = std::make_unique<ButtonWidget>(" images/engine/editor/undo.png" ,
1072
- Vector (10 , 10 ), [this ]{ undo (); });
1072
+ Vector (0 , 0 ), [this ]{ undo (); });
1073
1073
auto redo_button_widget = std::make_unique<ButtonWidget>(" images/engine/editor/redo.png" ,
1074
- Vector (60 , 10 ), [this ]{ redo (); });
1074
+ Vector (32 , 0 ), [this ]{ redo (); });
1075
1075
1076
1076
m_undo_widget = undo_button_widget.get ();
1077
1077
m_redo_widget = redo_button_widget.get ();
0 commit comments