From b86a59ec05c669d7b1406a795fd326fa6cbe9301 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 7 Jul 2020 19:21:57 +0100 Subject: LibGUI: Use Resize{Column,Row} cursor for Splitter and AbstractTableView --- Libraries/LibGUI/AbstractTableView.cpp | 2 +- Libraries/LibGUI/Splitter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Libraries') 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&) -- cgit v1.2.3