gabriele-cusato_HandTranscr.../HandTranscriptMd
gabriele-cusato 61329f2f43 fix: collapse/expand animation uses img.naturalWidth for correct height calculation
The collapse animation in the inline SVG embed was broken on Windows due to
  three compounding issues: CSS height transitions don't animate from auto→px in
  Electron; the guard direction was inverted for SVGs shorter than canvasHeight;
  and the canvas auto-widens when the modal is opened on wide screens
  (expandWorld=true), making the real SVG naturalWidth differ from
  settings.canvasWidth, causing the computed target height to be larger than the
  current rendered height and inverting the animation direction.

  Fix: use img.naturalWidth (actual SVG viewBox width) instead of
  settings.canvasWidth for the collapsed height calculation. Also moves
  touch-action from JS style.setProperty to CSS (.hwm_canvas) to resolve the
  Obsidian Required ESLint violation.
2026-03-28 19:03:17 +01:00
..
.github/workflows primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
src fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
.editorconfig primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
.npmrc primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
esbuild.config.mjs primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
eslint.config.mjs fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
eslint.config.mts primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
manifest.json fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
package-lock.json fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
package.json fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
styles.css fix: collapse/expand animation uses img.naturalWidth for correct height calculation 2026-03-28 19:03:17 +01:00
tsconfig.json primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
version-bump.mjs primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00
versions.json primo commit, vedere claude.md per storico 2026-03-15 13:25:50 +01:00