diff options
Diffstat (limited to 'src/ChannelTopPanel.cpp')
-rw-r--r-- | src/ChannelTopPanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChannelTopPanel.cpp b/src/ChannelTopPanel.cpp index bf122d2..9d4869e 100644 --- a/src/ChannelTopPanel.cpp +++ b/src/ChannelTopPanel.cpp @@ -45,7 +45,7 @@ namespace dchat const sf::Color lineCenterColor = lineSideColor + sf::Color(40, 0, 0); auto windowSize = window.getSize(); - sf::RectangleShape rect(sf::Vector2f(floor(windowSize.x - ChannelSidePanel::getWidth() - UsersSidePanel::getWidth()), getHeight() - BOTTOM_LINE_HEIGHT)); + sf::RectangleShape rect(sf::Vector2f(floor(windowSize.x - ChannelSidePanel::getWidth()), getHeight() - BOTTOM_LINE_HEIGHT)); rect.setPosition(ChannelSidePanel::getWidth(), 0.0f); rect.setFillColor(ColorScheme::getBackgroundColor()); window.draw(rect); |