summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-16 16:32:25 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-16 16:32:25 -0400
commit8e430782771d1f2980b367daf17d809d5805b7e4 (patch)
tree81c402667efaf63ad46c176a4ee7ec172e354f81
parent2c75d95ddf849996bfc18267a9eecb4d0f4e1916 (diff)
downloadether-8e430782771d1f2980b367daf17d809d5805b7e4.tar.gz
ether-8e430782771d1f2980b367daf17d809d5805b7e4.tar.bz2
ether-8e430782771d1f2980b367daf17d809d5805b7e4.zip
fade-in before reading a sign
-rw-r--r--src/sign.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sign.cpp b/src/sign.cpp index 992ac3d..7c4f43f 100644 --- a/src/sign.cpp +++ b/src/sign.cpp
@@ -6,6 +6,7 @@
6 6
7void Sign::displayMessage(std::string text) { 7void Sign::displayMessage(std::string text) {
8 signDisplayState = SignInstructionState::FadingIn; 8 signDisplayState = SignInstructionState::FadingIn;
9 signDisplayFade.start(1000);
9 lines.clear(); 10 lines.clear();
10 11
11 auto lineChunks = splitStr<std::list<std::string>>(text, "\\n"); 12 auto lineChunks = splitStr<std::list<std::string>>(text, "\\n");