Skip to content

v0.16.2

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:42
8b2fee8
  • @tooee/cli@0.16.2
  • @tooee/ask@0.16.2
  • @tooee/choose@0.16.2
  • @tooee/commands@0.16.2
  • @tooee/clipboard@0.16.2
  • @tooee/config@0.16.2
  • @tooee/diff@0.16.2
  • @tooee/layout@0.16.2
  • @tooee/fuzzy@0.16.2
  • @tooee/marks@0.16.2
  • @tooee/mermaid-pele@0.16.2
  • @tooee/overlays@0.16.2
  • @tooee/panels@0.16.2
  • @tooee/renderers@0.16.2
  • @tooee/router@0.16.2
  • @tooee/search@0.16.2
  • @tooee/shell@0.16.2
  • @tooee/themes@0.16.2
  • @tooee/toasts@0.16.2
  • @tooee/view@0.16.2

Draw Pele Mermaid diagrams at 1.5x by default (ce6e5eb)

Pele Mermaid diagrams now draw at 1.5 screen pixels per SVG pixel, so 16 px labels show at 24 screen pixels. In 0.16.1 a diagram drew at one SVG pixel per screen pixel, and its labels were smaller than terminal text on a scaled display. The width and row caps still apply, so a diagram that already fills the pane or reaches the row cap draws at the same size as before.

The new zoom option of createPeleMermaidRenderer sets the factor. Pass zoom: 1 to keep the 0.16.1 size. The scale option now defaults to the larger of 2 and zoom, so the raster is never enlarged on screen. DEFAULT_MERMAID_ZOOM is exported.