mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
LibGUI: Use Resize{Column,Row} cursor for Splitter and AbstractTableView
This commit is contained in:
parent
62866208ee
commit
b86a59ec05
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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&)
|
||||
|
|
Loading…
Add table
Reference in a new issue