From 977b10ef2348dd790b662a86374b20211fa1d1d1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 31 May 2018 21:49:18 +0200 Subject: Make scrollbar smaller, change color --- src/MessageBoard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/MessageBoard.cpp b/src/MessageBoard.cpp index 6ed4378..aa92d46 100644 --- a/src/MessageBoard.cpp +++ b/src/MessageBoard.cpp @@ -51,8 +51,8 @@ namespace dchat visibleMessageStartIndex(-1), visibleMessageEndIndex(-1) { - scrollbar.backgroundColor = sf::Color(51, 54, 59); - scrollbar.scrollColor = sf::Color(45, 47, 52); + scrollbar.backgroundColor = sf::Color(49, 52, 57); + scrollbar.scrollColor = sf::Color(42, 44, 49); } MessageBoard::~MessageBoard() @@ -437,7 +437,7 @@ namespace dchat scrollbar.scroll = abs(scroll); scrollbar.maxScroll = totalHeight; - scrollbar.width = 15.0f * Settings::getScaling(); + scrollbar.width = 10.0f * Settings::getScaling(); scrollbar.maxHeight = (float)backgroundSize.y; scrollbar.position.x = windowSize.x - UsersSidePanel::getWidth() - scrollbar.width; scrollbar.position.y = backgroundPos.y; -- cgit v1.2.3