From a3526002980b3ebc112ec6f272923a5196c072cd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 12 Oct 2019 08:17:17 +0200 Subject: Show chapter name at bottom while viewing manga --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QuickMedia.cpp') 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); -- cgit v1.2.3