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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|