Browse Source

Merge pull request #11217 from timunie/fix/wasm-cursor-hand

Fix WASM "Hand" cursor not showing
pull/11225/head
Max Katz 3 years ago
committed by GitHub
parent
commit
38951a0d63
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Browser/Avalonia.Browser/webapp/modules/avalonia/input.ts

2
src/Browser/Avalonia.Browser/webapp/modules/avalonia/input.ts

@ -266,7 +266,7 @@ export class InputHelper {
}
public static setCursor(inputElement: HTMLInputElement, kind: string) {
if (kind === "pointer") {
if (kind === "default") {
inputElement.style.removeProperty("cursor");
} else {
inputElement.style.cursor = kind;

Loading…
Cancel
Save