Skip to content

Commit

Permalink
Add constrcutor initializer for m_autotile_mode
Browse files Browse the repository at this point in the history
The previous commit fixed the ctrl key behaviour when pressing f5. It
wouldn't have the correct hold behaviour. And now it does
  • Loading branch information
MatusGuy committed Dec 29, 2024
1 parent ace1051 commit 7b01c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/overlay_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ EditorOverlayWidget::EditorOverlayWidget(Editor& editor) :
m_rectangle_preview(new TileSelection()),
m_warning_timer(),
m_warning_text(),
m_selection_warning(false)
m_selection_warning(false),
m_autotile_mode(g_config->editor_autotile_mode)
{
}

Expand Down

0 comments on commit 7b01c95

Please sign in to comment.