Skip to content

v1.0.9

Latest

Choose a tag to compare

@anjiemo anjiemo released this 05 Jul 15:02

What's New

Added

  • Multi-project identity: display project nickname/name label above the pet when window is focused or hovered, with configurable truncation (middle ellipsis / end ellipsis)
  • Focus glow animation: when the active project window gains focus, a radial outward-pulsing halo appears behind the pet, driven at 30 FPS
  • Settings live preview: pet appearance syncs instantly while editing config; changes revert automatically on cancel

Fixed / Optimized

  • Use monotonic clock (System.nanoTime) for animation timing, immune to system clock adjustments
  • Cache label font height to eliminate ~90 BufferedImage allocations/sec in the 30 FPS paint loop (reducing GC pressure)
  • Offload character loading (disk I/O + image decode) to background thread, fixing IDE freeze when switching pets

更新内容

新增

  • 多项目身份区分:宠物顶部显示当前项目昵称/名称标签(聚焦或悬停时展示),支持自定义截断模式(中间省略 / 末尾省略)
  • 聚焦高亮动效:活跃项目窗口获焦时,宠物身后显示向外发散的波动光晕,以 30 FPS 流畅驱动
  • 设置页实时预览:修改配置时宠物外观 0 延时同步,取消时自动回滚

修复 / 优化

  • 使用单调时钟(System.nanoTime)驱动动效,免疫系统时钟调整
  • 缓存字体行高,消除 30 FPS 绘制循环中每帧 ~90 次 BufferedImage 分配导致的 GC 高压
  • 将形象加载(磁盘 I/O + 图片解码)移至后台线程,修复切换宠物时 IDE 卡住问题

Install / 安装

Install into your Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → choose IdeDesktopPetSprite-1.0.9.zip, then restart.

安装到你的 Android Studio / IntelliJ IDEA:
Settings → Plugins → ⚙ → Install Plugin from Disk… → 选择 IdeDesktopPetSprite-1.0.9.zip,重启即可。