even though it can get longer when power-saving kicks in
This commit is contained in:
Eknous-P 2024-09-25 23:06:01 +04:00
parent 0c16646b05
commit e06b3ada26
2 changed files with 2 additions and 2 deletions

View file

@ -2285,7 +2285,7 @@ class FurnaceGUI {
introPlayed(false), introPlayed(false),
#endif #endif
protoWelcome(false), protoWelcome(false),
popupTimer(1.0f) { popupTimer(10.0f) {
} }
} tutorial; } tutorial;

View file

@ -723,7 +723,7 @@ void FurnaceGUI::drawTutorial() {
(canvasH-ImGui::GetWindowSize().y)*0.5 (canvasH-ImGui::GetWindowSize().y)*0.5
)); ));
if (tutorial.popupTimer<0.6f) { if (tutorial.popupTimer<2.0f) {
ImDrawList* dl=ImGui::GetForegroundDrawList(); ImDrawList* dl=ImGui::GetForegroundDrawList();
const ImVec2 winPos=ImGui::GetWindowPos(); const ImVec2 winPos=ImGui::GetWindowPos();
const ImVec2 txtSize=ImGui::CalcTextSize("copied!"); const ImVec2 txtSize=ImGui::CalcTextSize("copied!");