File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ void HeaderView::mousemove_event(MouseEvent& event)
180
180
bool found_hovered_header = false ;
181
181
for (int i = 0 ; i < section_count; ++i) {
182
182
if (section_resize_grabbable_rect (i).contains (event.position ())) {
183
- window ()-> set_cursor (Gfx::StandardCursor::ResizeColumn);
183
+ set_override_cursor (Gfx::StandardCursor::ResizeColumn);
184
184
set_hovered_section (-1 );
185
185
return ;
186
186
}
@@ -192,15 +192,15 @@ void HeaderView::mousemove_event(MouseEvent& event)
192
192
if (!found_hovered_header)
193
193
set_hovered_section (-1 );
194
194
}
195
- window ()-> set_cursor (Gfx::StandardCursor::None);
195
+ set_override_cursor (Gfx::StandardCursor::None);
196
196
}
197
197
198
198
void HeaderView::mouseup_event (MouseEvent& event)
199
199
{
200
200
if (event.button () == MouseButton::Left) {
201
201
if (m_in_section_resize) {
202
202
if (!section_resize_grabbable_rect (m_resizing_section).contains (event.position ()))
203
- window ()-> set_cursor (Gfx::StandardCursor::None);
203
+ set_override_cursor (Gfx::StandardCursor::None);
204
204
m_in_section_resize = false ;
205
205
return ;
206
206
}
@@ -337,7 +337,6 @@ void HeaderView::leave_event(Core::Event& event)
337
337
{
338
338
Widget::leave_event (event);
339
339
set_hovered_section (-1 );
340
- window ()->set_cursor (Gfx::StandardCursor::None);
341
340
}
342
341
343
342
Gfx::TextAlignment HeaderView::section_alignment (int section) const
You can’t perform that action at this time.
0 commit comments