Fix set_cursor_icon
This commit is contained in:
parent
ea73dac753
commit
7f2ba0ee3e
1 changed files with 2 additions and 1 deletions
|
|
@ -169,7 +169,8 @@ impl Window {
|
|||
CursorIcon::RowResize => "row-resize",
|
||||
};
|
||||
*self.previous_pointer.borrow_mut() = text;
|
||||
self.canvas.set_attribute("cursor", text);
|
||||
self.canvas
|
||||
.set_attribute("style", &format!("cursor: {}", text));
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue