Skip to content

1.0.4

Choose a tag to compare

@github-actions github-actions released this 22 Sep 13:42
· 5 commits to main since this release

English

New

  1. Interface language: switch between Chinese and English at the top of the settings tab; the settings tab and the
    image right-click menu follow, English by default. Command names are registered in both languages.
  2. Master switch for the image right-click menu: turn the plugin's image menu off from the settings tab or the command
    palette and images go back to Obsidian and other plugins; turning it off copies the command that turns it back on to
    your clipboard.
  3. Drag ceiling for multi-image rows: dragging outward stops once an image exactly fills its cell — beyond that neither
    the image nor the row height moves, and the note is not written. Near full it snaps silently to full.
  4. Drag-time equalizing: dragging an image's top or bottom edge snaps it to an equal-height neighbour and lights that
    side's balance bar.
  5. Undo (Cmd+Z) now restores a single-image row after rotating, aligning or resizing it by its handle.
  6. Geometry probe switch (temporary): writes each image's model / written / measured sizes to the log file.

Improved

  1. Multi-image rotation no longer moves the container: a turn only shrinks the artwork inside its pre-rotation box; row
    height and neighbour widths are never written.
  2. The multi-image row height model, double-click equalizing and dividers now solve shares from the currently rendered
    aspect ratio: gaps between two images are even, and images no longer sit shorter than their container.
  3. Settings buttons: hover and press look the same across every theme and in both light and dark modes; all forced
    style declarations were removed from the stylesheet.

Fixed

  1. Embed matching compares the filename's last segment, so links in subfolders no longer mismatch; on a fallback the
    section's own candidate wins, so same-named attachments no longer take another image's row parameters.
  2. Dragging to the ceiling no longer records full width as 99 through sub-pixel rounding.
  3. Dragging an image onto its own endpoint within a row is a legal swap instead of being ignored.

中文

新增

  1. 界面语言:设置页最上方可切换中文 / English,设置页与图片右键菜单整体跟随,默认英文;命令名中英并排注册。
  2. 图片右键菜单总开关:在设置页或命令面板关闭本插件的图片菜单,图片交还 Obsidian
    与其他插件;关闭时自动把重新开启的命令复制到剪贴板。
  3. 多图行拖拽上界:向外拖到图片恰好铺满本格即止,再往外图片与行高都不动、笔记也不写;接近满格时静默吸附到满格。
  4. 拖拽均衡吸附:拖拽图片上下边框时与等高邻居吸附,并点亮该侧均衡条。
  5. 单图行在旋转、对齐、手柄缩放之后,撤销(Cmd+Z)均可正常还原
  6. 几何诊断快照开关(临时):把每张图的模型 / 写入 / 实测三组尺寸写进日志文件。

优化

  1. 多图行旋转改为「不动容器」:转向只把画作缩进旋转前的容器,行高与邻居宽度一律不写。
  2. 多图行高度模型与双击均衡、双击分隔线统一改按当前渲染宽高比求解份额:两图间距不再一大一小,图不再比容器矮一截。
  3. 设置页按钮:悬停与按下在所有主题、亮暗两模式下表现一致;样式表中全部强制声明已清除。

修复

  1. 嵌入匹配改按文件名末段比较,子文件夹链接不再错配;失配降级时优先本节候选,同名附件不再把行参数落到别的图上。
  2. 拖到上界时不再因亚像素误差把满格记成 99。
  3. 同一行内拖到自身端点,由忽略改为合法交换。