mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 21:31:29 +11:00
Fix set_cursor_icon
This commit is contained in:
parent
ea73dac753
commit
7f2ba0ee3e
|
@ -169,7 +169,8 @@ impl Window {
|
||||||
CursorIcon::RowResize => "row-resize",
|
CursorIcon::RowResize => "row-resize",
|
||||||
};
|
};
|
||||||
*self.previous_pointer.borrow_mut() = text;
|
*self.previous_pointer.borrow_mut() = text;
|
||||||
self.canvas.set_attribute("cursor", text);
|
self.canvas
|
||||||
|
.set_attribute("style", &format!("cursor: {}", text));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
Loading…
Reference in a new issue