Skip to content

Tech Tree Companion 0.4.30

Choose a tag to compare

@HWMLlv HWMLlv released this 07 Oct 04:33

中文

  • 优化模板中心的卡片拉伸:每帧只更新最新外框和背景,文字、图标和模块保持原位;连续预览,松手后对齐网格,一次拉伸只记录一次撤销。支持 Escape 取消。
  • 修复虚线和点线随卡片尺寸变化的排布;圆角闭合处留隙,直角四角分别留隙,避免一段虚线绕角形成 L 形。
  • 详情阅览正文支持双击进入实时编辑,保留大致阅读位置;链接、按钮、复选框等保留原操作,切换模式本身不修改正文。
  • 修复图标选择窗口快速移动或滚动时重复显示分类提示的问题,保留分类名称、图标名称、辅助阅读名称与原有快捷图标。

已有卡片:重新编辑保存,或选中后运行“优化选中节点附件(保留字体设置)”,才能应用新的描边排布。不会自动重写整个库。

English

  • Make template-center card resizing continuous and coalesce pointer moves once per animation frame. Redraw only border/background while retaining text, icons and module positions. Snap to the existing grid on release and record one undo step; Escape cancels.
  • Recalculate dashed/dotted repeat cycles for resized borders. Leave a gap at rounded contour seams and at all four square corners so a dash does not wrap into an L shape.
  • Double-click ordinary detail reading text to enter the existing live editor near the same reading position. Interactive controls keep their normal behavior; switching modes alone does not write the note.
  • Remove redundant icon-picker category hover tooltips while preserving visible labels, accessibility names, quick icon selection and the full categorized picker.

Existing cards need an explicit edit/save or 优化选中节点附件(保留字体设置) to regenerate their borders. There is no automatic vault-wide rewrite.

Validation and upgrade

219 automated tests passed; lint has zero errors and seven existing warnings. Focused checks passed in an isolated Windows Obsidian 1.13.7 / Excalidraw 2.25.3 vault, including real pointer capture/release, border rendering, detail editing, tooltip behavior and cancellation/undo. macOS/Linux host integration remains untested; mobile is unsupported.

Install/update the three attached files: main.js, manifest.json, and styles.css. Retain data.json, font caches and card attachments. Install and enable Excalidraw 2.25.3 or later separately.

These attachments are taken from the successful 0.4.30 tag workflow, with matching GitHub artifact attestations. Build provenance is separate from Obsidian Community review and app-browser availability.