浏览代码

FIX: DARWIN: Cursor not reset in Reactive Application on MacOS 13 again (#732) (#734)

rich2014 2 年之前
父节点
当前提交
716cbbd9ee
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/fmain.pas

+ 1 - 2
src/fmain.pas

@@ -6985,8 +6985,7 @@ end;
 procedure TfrmMain.AppActivate(Sender: TObject);
 begin
   {$IFDEF DARWIN}
-  if self.Active then
-    resetScreenCursor;
+  resetScreenCursor;
   {$ENDIF}
 
   if Assigned(FrameLeft) then