mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 22:15:14 +00:00
GUI: user presets, part 7
This commit is contained in:
parent
48f8afd6b9
commit
d2204100f0
1 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue