GUI: user presets, part 7

This commit is contained in:
tildearrow 2024-04-13 16:56:02 -05:00
parent 48f8afd6b9
commit d2204100f0

View file

@ -467,9 +467,17 @@ void FurnaceGUI::drawUserPresets() {
ImGui::Separator();
ImGui::Text("Advanced");
if (ImGui::InputTextMultiline("##UExtra",&preset->extra,ImVec2(ImGui::GetContentRegionAvail().x,120.0f*dpiScale),ImGuiInputTextFlags_UndoRedo)) {
mustBake=true;
}
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip(
"insert additional settings in `option=value` format.\n"
"available options:\n"
"- tickRate"
);
}
if (mustBake) preset->bake();
} else {