@@ -146,7 +146,7 @@ Editor::Editor() :
146
146
m_widgets.push_back (std::move (overlay_widget));
147
147
148
148
auto grid_size_widget = std::make_unique<ButtonWidget>(" images/engine/editor/grid_button.png" ,
149
- Vector (110 , 10 ),
149
+ Vector (64 , 0 ),
150
150
[this ] {
151
151
auto & snap_grid_size = g_config->editor_selected_snap_grid_size ;
152
152
if (snap_grid_size == 0 )
@@ -160,7 +160,7 @@ Editor::Editor() :
160
160
m_widgets.insert (m_widgets.begin () + 2 , std::move (grid_size_widget));
161
161
162
162
auto play_button = std::make_unique<ButtonWidget>(" images/engine/editor/play_button.png" ,
163
- Vector (160 , 10 ), [this ] { m_test_request = true ; });
163
+ Vector (96 , 0 ), [this ] { m_test_request = true ; });
164
164
165
165
m_play_widget = play_button.get ();
166
166
@@ -1085,9 +1085,9 @@ Editor::retoggle_undo_tracking()
1085
1085
{
1086
1086
// Add undo/redo button widgets.
1087
1087
auto undo_button_widget = std::make_unique<ButtonWidget>(" images/engine/editor/undo.png" ,
1088
- Vector (10 , 10 ), [this ]{ undo (); });
1088
+ Vector (0 , 0 ), [this ]{ undo (); });
1089
1089
auto redo_button_widget = std::make_unique<ButtonWidget>(" images/engine/editor/redo.png" ,
1090
- Vector (60 , 10 ), [this ]{ redo (); });
1090
+ Vector (32 , 0 ), [this ]{ redo (); });
1091
1091
1092
1092
m_undo_widget = undo_button_widget.get ();
1093
1093
m_redo_widget = redo_button_widget.get ();
0 commit comments