Skip to content

Commit

Permalink
Don't reload style on simulation restart
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrek-szczygiel committed Jun 7, 2021
1 parent 8ca0de0 commit 0ae751e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ void Platform::start() {
m_icon = LoadImage("assets/icon32.png");
SetWindowIcon(m_icon);

m_gui.load_style(m_config.window_style);
reload();
}

Expand All @@ -55,7 +56,6 @@ void Platform::reload() {
}

SetTargetFPS(m_config.window_fps);
m_gui.load_style(m_config.window_style);
m_gui.plot_clear();
}
}
Expand Down

0 comments on commit 0ae751e

Please sign in to comment.