diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-31 21:49:18 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-31 21:49:47 +0200 |
commit | 977b10ef2348dd790b662a86374b20211fa1d1d1 (patch) | |
tree | e73e72c36df08552755e4721470b1fd96d532740 /src | |
parent | 7913c19875cd407a1559da66a26906184dcd712b (diff) |
Make scrollbar smaller, change color
Diffstat (limited to 'src')
-rw-r--r-- | src/MessageBoard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |