Skip to content

Commit a40a5b2

Browse files
committed
Change icon for toggling between tile and object mode.
Thanks @Frostwithasideofsalt
1 parent f9996a2 commit a40a5b2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
2.28 KB
Loading

src/editor/editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Editor::Editor() :
184184

185185
m_widgets.insert(m_widgets.begin() + 4, std::move(save_button));
186186

187-
auto mode_button = std::make_unique<ButtonWidget>("images/engine/editor/tilemap.png",
187+
auto mode_button = std::make_unique<ButtonWidget>("images/engine/editor/toggle_tile_object_mode.png",
188188
Vector(160, 0), [this] {
189189
auto& tilebox = m_toolbox_widget->get_tilebox();
190190
const auto& input_type = tilebox.get_input_type();

0 commit comments

Comments
 (0)