فهرست منبع

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

Fix WASM "Hand" cursor not showing
Max Katz 2 سال پیش
والد
کامیت
38951a0d63
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Browser/Avalonia.Browser/webapp/modules/avalonia/input.ts

+ 1 - 1
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;