Skip to content

Commit

Permalink
further tooltips for simulation parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Apr 24, 2023
1 parent 723261f commit 7e30953
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/Gui/SimulationParametersWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,9 @@ void _SimulationParametersWindow::processBase(
AlienImGui::CheckboxParameters()
.name("Preserve self-replication")
.textWidth(RightColumnWidth)
.defaultValue(!origSimParameters.cellFunctionConstructorMutationSelfReplication),
.defaultValue(!origSimParameters.cellFunctionConstructorMutationSelfReplication)
.tooltip("If deactivated, a mutation can also alter self-replication capabilities in the genome by changing a constructor cell to "
"something else or vice versa."),
preserveSelfReplication);
simParameters.cellFunctionConstructorMutationSelfReplication = !preserveSelfReplication;
ImGui::TreePop();
Expand Down

0 comments on commit 7e30953

Please sign in to comment.