summaryrefslogtreecommitdiff
path: root/LibGUI
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-04 11:17:25 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-04 11:17:25 +0100
commitd932c03843e7f0333ff20f2bcfee2728234d3660 (patch)
tree9bf58dcc039488fd3d3fc04d8711e19d16eb402c /LibGUI
parent06bd2fb2d5f39eb5d6344c87954981bee94758ad (diff)
downloadserenity-d932c03843e7f0333ff20f2bcfee2728234d3660.zip
GTableView: Tweak focus appearance for selected items.
Diffstat (limited to 'LibGUI')
-rw-r--r--LibGUI/GTableView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGUI/GTableView.cpp b/LibGUI/GTableView.cpp
index ea6c76fcda..01a517b844 100644
--- a/LibGUI/GTableView.cpp
+++ b/LibGUI/GTableView.cpp
@@ -122,7 +122,7 @@ void GTableView::paint_event(GPaintEvent& event)
Color background_color;
Color text_color;
if (row_index == m_model->selected_index().row()) {
- background_color = Color::from_rgb(0x84351a);
+ background_color = is_focused() ? Color::from_rgb(0x84351a) : Color::from_rgb(0x606060);
text_color = Color::White;
} else {
background_color = painted_item_index % 2 ? Color(210, 210, 210) : Color::White;