only set cursor on windows

This commit is contained in:
Lucas Nogueira
2024-02-06 10:25:49 -03:00
parent c838d2b160
commit 03294a8430

View File

@@ -114,6 +114,7 @@ mod windows {
impl HitTestResult {
fn drag_resize_window(&self, window: &Window) {
#[cfg(windows)]
self.change_cursor(window);
let _ = window.drag_resize_window(match self {
HitTestResult::Left => ResizeDirection::West,