Skip to content

CcIslandCn v1.4.5

Choose a tag to compare

@github-actions github-actions released this 28 Jun 07:41

CcIslandCn v1.4.5

修复

  • 多屏下点击屏幕其他位置鼠标向下偏移:展开灵动岛后点击面板外部时,应用会用 CGEvent 把这次点击重投递给下层窗口。坐标翻转此前误用 NSScreen.main(key window 所在屏)的高度,而 NSEvent.mouseLocation 与 CGEvent 坐标都锚定主屏(带菜单栏的 screens[0]);多屏下面板失焦后 NSScreen.main 漂到外接屏,翻转高度取错,导致重投递点击向下偏移(偏移量 = 错用屏与主屏的高度差)。改为统一取主屏高度,repostClickAtrepostMouseEvent 两处同步修正。