diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-16 16:32:25 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-16 16:32:25 -0400 |
commit | 8e430782771d1f2980b367daf17d809d5805b7e4 (patch) | |
tree | 81c402667efaf63ad46c176a4ee7ec172e354f81 /src | |
parent | 2c75d95ddf849996bfc18267a9eecb4d0f4e1916 (diff) | |
download | ether-8e430782771d1f2980b367daf17d809d5805b7e4.tar.gz ether-8e430782771d1f2980b367daf17d809d5805b7e4.tar.bz2 ether-8e430782771d1f2980b367daf17d809d5805b7e4.zip |
fade-in before reading a sign
Diffstat (limited to 'src')
-rw-r--r-- | src/sign.cpp | 1 |
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 | ||
7 | void Sign::displayMessage(std::string text) { | 7 | void 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"); |