summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-07-07 19:21:57 +0100
committerAndreas Kling <kling@serenityos.org>2020-07-07 23:11:39 +0200
commitb86a59ec05c669d7b1406a795fd326fa6cbe9301 (patch)
tree79a23e344d34b3d6f12f4b9d7a7f9daae7826777 /Libraries
parent62866208eed3056e93ad745edcdd4a72dbd4dcf5 (diff)
downloadserenity-b86a59ec05c669d7b1406a795fd326fa6cbe9301.zip
LibGUI: Use Resize{Column,Row} cursor for Splitter and AbstractTableView
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/AbstractTableView.cpp2
-rw-r--r--Libraries/LibGUI/Splitter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/AbstractTableView.cpp b/Libraries/LibGUI/AbstractTableView.cpp
index d05ee42f1d..e254510c60 100644
--- a/Libraries/LibGUI/AbstractTableView.cpp
+++ b/Libraries/LibGUI/AbstractTableView.cpp
@@ -295,7 +295,7 @@ void AbstractTableView::mousemove_event(MouseEvent& event)
bool found_hovered_header = false;
for (int i = 0; i < column_count; ++i) {
if (column_resize_grabbable_rect(i).contains(horizontally_adjusted_position)) {
- window()->set_override_cursor(StandardCursor::ResizeHorizontal);
+ window()->set_override_cursor(StandardCursor::ResizeColumn);
set_hovered_header_index(-1);
return;
}
diff --git a/Libraries/LibGUI/Splitter.cpp b/Libraries/LibGUI/Splitter.cpp
index c8b9e91ce4..4f2c8debfe 100644
--- a/Libraries/LibGUI/Splitter.cpp
+++ b/Libraries/LibGUI/Splitter.cpp
@@ -60,7 +60,7 @@ void Splitter::resize_event(ResizeEvent& event)
void Splitter::enter_event(Core::Event&)
{
- window()->set_override_cursor(m_orientation == Orientation::Horizontal ? StandardCursor::ResizeHorizontal : StandardCursor::ResizeVertical);
+ window()->set_override_cursor(m_orientation == Orientation::Horizontal ? StandardCursor::ResizeColumn : StandardCursor::ResizeRow);
}
void Splitter::leave_event(Core::Event&)