1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibDraw: Tweak the hover highlight color.

It was a tad too bright. Also make sure we're using the same color in
all the different places. At some point it would be nice to improve global
color settings, etc.
This commit is contained in:
Andreas Kling 2019-07-27 11:15:20 +02:00
parent 34ccc7b4a7
commit 7cd2e739f2
3 changed files with 7 additions and 3 deletions

View file

@ -18,7 +18,7 @@ GSplitter::~GSplitter()
void GSplitter::enter_event(CEvent&)
{
set_background_color(Color::from_rgb(0xd6d2ce));
set_background_color(StylePainter::hover_highlight_color());
window()->set_override_cursor(m_orientation == Orientation::Horizontal ? GStandardCursor::ResizeHorizontal : GStandardCursor::ResizeVertical);
update();
}