aram-mayhem-dsh 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -78,7 +78,7 @@ powershell -ExecutionPolicy Bypass -File .\scripts\package_share.ps1
78
78
 
79
79
  ## 桌面图标
80
80
 
81
- - 默认停靠主屏右边缘并**半隐藏**:只露出约 45% 宽度,透明度约 0.45;鼠标移入平滑滑出完整图标,移出 400ms 后缩回。
81
+ - 默认停靠主屏右边缘并**半隐藏**:只露出约 30% 宽度,透明度约 0.62;鼠标移入平滑滑出完整图标,移出 400ms 后缩回。
82
82
  - 点击展开:英雄 / 推荐海克斯 / 出装三个页签;功能菜单打开或主面板展开时不会缩回。
83
83
  - 点标题栏「收起」、按 `Esc`,或点击游戏/其他窗口时自动缩回半隐藏图标,减少对视野的遮挡。
84
84
  - **游戏必须使用「无边框」或「窗口化」**:独占全屏会盖住所有 Windows 置顶窗口,图标和 OCR 都无法显示/截图。游戏内按 Esc → 视频 → 窗口模式 → 无边框。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aram-mayhem-dsh",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "description": "ARAM: Mayhem companion for DSH: an on-demand local service, screen-top desktop icon, sidebar page with LCU state, champion/augment statistics, builds and screen OCR, with nine agent tools.",
6
6
  "license": "MIT",
@@ -645,8 +645,10 @@ class FloatingOverlay(QWidget):
645
645
  return self.x()
646
646
  area = screen.availableGeometry()
647
647
  if peek:
648
- ratio = 0.30
649
- visible = max(24, round(self.width() * (1.0 - ratio)))
648
+ # Keep only 30% of the icon on screen; the rest stays outside the
649
+ # right edge until the mouse enters the visible sliver.
650
+ ratio = 0.70
651
+ visible = max(18, round(self.width() * (1.0 - ratio)))
650
652
  return area.right() - visible
651
653
  return area.right() - self.width() + 1
652
654
 
@@ -65,7 +65,7 @@ from src.lcu.listener import parse_champ_select, parse_queue_info
65
65
  log = logging.getLogger("aram-dsh-service")
66
66
  urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
67
67
 
68
- VERSION = "0.4.3"
68
+ VERSION = "0.4.4"
69
69
  IN_GAME_PHASES = {"InProgress", "Reconnect"}
70
70
 
71
71