sure
even though it can get longer when power-saving kicks in
This commit is contained in:
parent
0c16646b05
commit
e06b3ada26
|
@ -2285,7 +2285,7 @@ class FurnaceGUI {
|
||||||
introPlayed(false),
|
introPlayed(false),
|
||||||
#endif
|
#endif
|
||||||
protoWelcome(false),
|
protoWelcome(false),
|
||||||
popupTimer(1.0f) {
|
popupTimer(10.0f) {
|
||||||
}
|
}
|
||||||
} tutorial;
|
} tutorial;
|
||||||
|
|
||||||
|
|
|
@ -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!");
|
||||||
|
|
Loading…
Reference in a new issue