aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-10-12 08:17:17 +0200
committerdec05eba <dec05eba@protonmail.com>2019-10-12 08:17:20 +0200
commita3526002980b3ebc112ec6f272923a5196c072cd (patch)
treee09b6b311113c5a45b5fe541810eff8e96317779
parent0fda98b233ae0f44b1f0a8691958087619b243e1 (diff)
Show chapter name at bottom while viewing manga
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 05c9004..35bf9f7 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -854,7 +854,7 @@ namespace QuickMedia {
bool resized = true;
sf::Event event;
- sf::Text chapter_text(std::string("Page ") + std::to_string(image_index + 1) + "/" + std::to_string(num_images), font, 14);
+ sf::Text chapter_text(chapter_title + std::string(" | Page ") + std::to_string(image_index + 1) + "/" + std::to_string(num_images), font, 14);
if(image_index == num_images)
chapter_text.setString("End");
chapter_text.setFillColor(sf::Color::White);