egatari 0.6.20-rc.2 → 0.6.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
8
8
 
9
9
  <!-- Unreleased changes are fragments in changes/*.md (see CONTRIBUTING.md "Changelog"); node tools/changelog.mjs --release X.Y.Z moves them here. -->
10
10
 
11
+ ## [0.6.20] - 2026-11-26
12
+
13
+ ### Added
14
+
15
+ - Studio: the start screen and **? (Help)** link to the guidebook 「Studio で始める絵語り」 for first-time users (it plays in the egatari.org gallery; in Japanese, and the English link says so).
16
+ - Studio: the quality check lists **Slides that will look different after saving** when the next Save of an Egatari file rebuilds the slides: slides you did not edit whose final step looks different in the file as it was opened (its own player and parts) and in this editor's rebuild. It does not block saving; click an entry to go to the slide.
17
+ - Touch screens: a swipe across the slide, or a tap on its left or right edge (15 % of its width), goes to the step before or after, as the toolbar's previous and next do; a tap in the middle still shows the toolbar. Not on links, parts, the book, the toolbar, while pinch-zoomed, in a blackout, or when a host hides the controls.
18
+
19
+ ### Changed
20
+
21
+ - Editor: **Slide ▾ → Add bookmark…** now suggests the slide's heading, cut to 20 characters, instead of **Q&A**, so a second bookmark no longer gets the same name (a number is added if another slide already has it; a slide without a heading gets "Slide 3"). The dialog text and the docs describe the two uses: jump to the final state of an important slide in the talk and back, and jump to the appendix divider (handoff #89)
22
+ - Parts library 2.22.0 is now the default (release 98ee1af, tarball e5860e13…, manifest 7d18a779…), imported beside 2.21.0: README corrections only (m-bars error bars are explained under the figure, m-code colours only python, r, shell and js, m-flow box spacing, m-kobun and m-callout notes; handoff #92). In the free English pack the new m-flow spacing note is shortened to stay under the paste limit. The parts gallery is re-synced to the 2.22.0 release
23
+ - Studio: in a browser that cannot choose where to save (Safari, Firefox), the first save of an Egatari file says once, before downloading, that each save makes a new file in the downloads and that Chrome or Edge overwrite the same file (**Saving downloads the file**; Cancel does not save).
24
+ - The feedback steps now live in one text (docs/llm-feedback.md and .ja.md) that both the make skill (ja and en) and the studio skill read, so the two cannot drift. The skills gather nothing for a report until the user agrees to send, look for the same issue first (`gh issue list --state all`) and suggest commenting there, include the Studio, instruction and parts library versions, say once that the report becomes a public issue, and, without gh, give a form URL with the fields filled in by field id (falling back to the draft and the empty form over 6,000 characters). The feedback form gains the type Insight / うまくいったこと with fields for what was being made, what worked, what did not and why; What you did and What happened are no longer required (handoff #91)
25
+ - AI instructions: the light (free-plan) instructions are shorter, so more parts get a full description when part sets are added. They keep only the common worked example (the part-set examples are in the detailed instructions only); in the "data shape" column, items that take all of `step` `at` `tone` no longer list them and are marked † (one line above the catalog says so; `label` is always listed); and the kicker, morph and research-positioning-table notes are in the detailed instructions only. English standard: 30,994 → 30,036 paste units; Japanese standard: 39,431 → 38,361 bytes. The detailed instructions are unchanged (handoff #95)
26
+ - Egatari Player 1.13.0 (the bundled player that files carry, `player` in the index and `deck-meta`): minor release. When the bookmark buttons do not fit the toolbar, they collapse into one **Bookmarks ▾** button that opens a list of the names (handoff #90). On a touch screen, a sideways swipe on the stage or a tap near its left or right edge goes to the previous or next step (handoff #97). The presenter view has **Previous** and **Next** buttons under the current slide, so it can be moved on with a click, an Apple Pencil (Sidecar on an iPad) or a finger; during a blackout they only end it, as the keys do (handoff #104). In Japanese, the blackout is now called 暗転: the presenter view says 暗転中 (was 黒い画面中), and so do the corner notice, the key list and the docs; the English wording is unchanged (handoff #105). The items of the presenter view's top bar no longer wrap inside: when they do not fit on one line, the bar drops only as many words as it must, in this order: Close presenter view becomes an icon, then Autoplay, then the words “Slide” and “Step” (showing 2 / 6 · 0 / 4); the names stay as tooltips, and if that is still too wide it wraps onto a second row (handoff #105)
27
+ - README (en and ja): a 30-second introduction video (Japanese) at the top, as a poster linking to the video on egatari.org
28
+ - Studio: ⌘S / Ctrl+S saves the open Egatari file, as **File ▾ → Save** does (also while typing in a field), instead of the browser's “Save page”.
29
+ - Studio: **File ▾ → Export ▸ → Print slides** is now **Print slides / Save as PDF**. The editor guide says how to make handouts (several slides on one sheet): save as PDF, then print the PDF from a PDF viewer with several pages per sheet.
30
+ - The `scriptUnclosed` finding now reads as two sentences (what is missing, then why the later slides are lost, then how to fix it), and the narration sections of the slides an unclosed `<script>` swallows are no longer also reported as "slide not found" (R-headings) — in the command-line check, the editor's build warnings and the AI fix request alike — so the fix request asks only to close the `<script>`. Other sections that match no slide are still reported (handoff #96)
31
+ - Studio: the script fields and the book text are spell-checked in the file's language (the HTML source field still is not).
32
+
33
+ ### Fixed
34
+
35
+ - Player: with many bookmarks the toolbar no longer runs off the screen (20 bookmarks on a portrait iPad overflowed by about 90 px). When the bookmark buttons do not fit, they collapse into one **Bookmarks ▾** menu button with a list of the names; whether they fit is measured, not counted, and measured again when the window is resized. The list items, `q` and **Back to where you were** work as before, and the menu works from the keyboard (Enter or Space opens, arrow keys move, Esc closes). The presenter view keeps its buttons (handoff #90)
36
+ - Studio: the comments of an Egatari file are no longer lost when the file is closed. They are not saved in the file, so Studio keeps them in this browser for each file (by its `docId`) and brings them back when the same file is opened again, also after it was saved. Comments not changed for 90 days are deleted; **? → Comments kept in this browser** shows how many files have them, with **Delete all**.
37
+ - Editor: a dialog or panel opened from a toolbar menu now puts focus on its first field however it was opened (click, double click, Enter, Enter twice), so text typed right away lands there. **File info…** no longer leaves focus on the page, the menu button or the preview, and a second Enter no longer reopens the **File ▾** menu on **New…**; a double click no longer moves focus to the dialog itself (**Add bookmark…**, **Change theme…**, **For an LMS (SCORM)…**, **Save as…**, the rights confirmation); the bookmark name opens with its suggested value selected, so typing replaces it. A menu item that opens nothing still returns keyboard focus to the menu button (handoff #98). An item that only shows a notice (such as **For an LMS (SCORM)…** with unsaved changes) also ignores a quick second Enter, so it no longer reopens the **File ▾** menu on **New…** (handoff #98)
38
+
11
39
  ## [0.6.19] - 2026-11-23
12
40
 
13
41
  ### Added
@@ -1718,7 +1746,8 @@ First public release.
1718
1746
  - Docs: README (English and Japanese), the contract (`docs/contract.md`), a reference of every option, syntax and key (`docs/reference.md`, `docs/reference.ja.md`), guides for the dev server and video, CONTRIBUTING, SECURITY, issue forms
1719
1747
  - Tests (`npm test`) and GitHub Actions running them on Node 22 and 24, plus a TTS dry-run through video export
1720
1748
 
1721
- [Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.19...HEAD
1749
+ [Unreleased]: https://github.com/egatari/egatari-studio/compare/v0.6.20...HEAD
1750
+ [0.6.20]: https://github.com/egatari/egatari-studio/compare/v0.6.19...v0.6.20
1722
1751
  [0.6.19]: https://github.com/egatari/egatari-studio/compare/v0.6.18...v0.6.19
1723
1752
  [0.6.18]: https://github.com/egatari/egatari-studio/compare/v0.6.17...v0.6.18
1724
1753
  [0.6.17]: https://github.com/egatari/egatari-studio/compare/v0.6.16...v0.6.17
package/README.ja.md CHANGED
@@ -202,7 +202,7 @@ node render/render.mjs $D/out/deck.html --out $D/video # 1 ステップだけ
202
202
  | p | 発表者ビュー(カンペ・次のステップ・タイマー) |
203
203
  | a | 自動再生(音声があれば流す) |
204
204
  | l | 先のステップを薄く見せる(入/切) |
205
- | b | 黒い画面 |
205
+ | b | 暗転 |
206
206
  | q | 次のしおりへ(最後の次は元の位置へ) |
207
207
  | s / Shift+s | 字幕(台本を 2 行ほどずつ)/ 字幕の大きさ S・M・L |
208
208
  | o | スライド一覧(矢印で選んで Enter) |
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- i18n: pair=README.ja.md sha256=2f238a5f66f28f8d -->
1
+ <!-- i18n: pair=README.ja.md sha256=193f194484ebf127 -->
2
2
  <p align="center">
3
3
  <picture>
4
4
  <source media="(prefers-color-scheme: dark)" srcset="assets/logo/egatari-dark.svg">
package/kit/deck.js CHANGED
@@ -2650,7 +2650,7 @@ function setBlack(on){
2650
2650
  extClose(); // 覆いの下に箱を残すと、キーが箱に取られて b・Esc で戻れない
2651
2651
  var c = document.createElement("div");
2652
2652
  c.id = "deck-black"; c.tabIndex = -1;
2653
- c.setAttribute("role", "img"); c.setAttribute("aria-label", L10N("黒い画面中(b・クリック・Esc で戻る)", "Blacked out (b, click or Esc to return)"));
2653
+ c.setAttribute("role", "img"); c.setAttribute("aria-label", L10N("暗転中(b・クリック・Esc で戻る)", "Blacked out (b, click or Esc to return)"));
2654
2654
  var prev = document.activeElement;
2655
2655
  BLACK = {el: c, prev: prev && prev !== document.body ? prev : null};
2656
2656
  // 押した点では送らない・描かない:押したら戻すだけ
@@ -2659,7 +2659,7 @@ function setBlack(on){
2659
2659
  // 隅の薄い知らせ(約 2 秒)。入ったときと、暗転の間にマウスを動かしたときに出す
2660
2660
  var hint = document.createElement("div");
2661
2661
  hint.id = "deck-black-hint"; hint.setAttribute("aria-hidden", "true");
2662
- hint.textContent = L10N("黒い画面中 — b か Esc で戻ります", "Black screen — press b or Esc to return");
2662
+ hint.textContent = L10N("暗転中 — b か Esc で戻る", "Black screen — press b or Esc to return");
2663
2663
  c.appendChild(hint);
2664
2664
  BLACK.hint = hint;
2665
2665
  c.addEventListener("pointermove", function(ev){ if (ev.pointerType !== "touch") blackHint(); });
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "version": "1.13.0",
3
- "sha256": "2e8eaa1e853e3102381da02bfdc9c8028ef0ad2f4de17cf11132ed6762db0ec3"
3
+ "sha256": "8240451b8f21af58760cc6a037e6bef1af781bec00bb10ef5b99dd7f5eac19c4"
4
4
  }
package/kit/presenter.js CHANGED
@@ -14,8 +14,8 @@ var L = DECK.ja === false
14
14
  legend: [["→/Space", "next"], ["←", "prev"], ["a", "autoplay"], ["b", "black screen"], ["x", "laser pointer"], ["d", "pen"], ["v", "fading pen"], ["o", "overview"], ["Esc", "exit tool / close"], ["p", "close"]]}
15
15
  : {cur: "今の画面", nextFrame: "次のスライド", end: "終わり", auto: "自動再生", stop: "停止", autoKey: "自動再生(a)", reset: "経過時間を戻す", next: "次のスライド", notes: "台本", slide: "スライド ", step: "ステップ ", none: "(台本なし)", nextStep: "次のステップ",
16
16
  laser: "レーザーポインター(x)", pen: "ペン(d)", color: "ペンの色", vpen: "消えるペン(v)", clear: "書き込みを消去", over: "本体でスライド一覧(o)", lect: "先のステップを薄く見せる(l)",
17
- feedback: "フィードバックを送信", goPrev: "前へ", goNext: "次へ", back: "戻る", bmGroup: "しおり", bm: "しおり:", bmBack: "元の位置に戻る", close: "発表者ビューを閉じる(p)", tap: "ここを押すと操作できます", black: "黒い画面中", blackT: "本体の画面は真っ黒です(b か、本体の画面のクリックで戻る)",
18
- legend: [["→/Space", "次"], ["←", "前"], ["a", "自動再生"], ["b", "黒い画面"], ["x", "レーザーポインター"], ["d", "ペン"], ["v", "消えるペン"], ["o", "一覧"], ["Esc", "解除・閉じる"], ["p", "閉じる"]]};
17
+ feedback: "フィードバックを送信", goPrev: "前へ", goNext: "次へ", back: "戻る", bmGroup: "しおり", bm: "しおり:", bmBack: "元の位置に戻る", close: "発表者ビューを閉じる(p)", tap: "ここを押すと操作できます", black: "暗転中", blackT: "本体の画面を暗転しています(b か、本体の画面のクリックで戻る)",
18
+ legend: [["→/Space", "次"], ["←", "前"], ["a", "自動再生"], ["b", "暗転"], ["x", "レーザーポインター"], ["d", "ペン"], ["v", "消えるペン"], ["o", "一覧"], ["Esc", "解除・閉じる"], ["p", "閉じる"]]};
19
19
  // 道具のボタン:[絵の名前, キー(DECK.ptools.key に渡す), 表示するキー]
20
20
  var TOOLS = [["laser", "x", "x"], ["pen", "d", "d"], ["vpen", "v", "v"], ["clear", "clear", "⌫"], ["over", "o", "o"], ["lect", "l", "l"]];
21
21
  DECK.presenterView = function(){
@@ -54,10 +54,10 @@ DECK.presenterView = function(){
54
54
  ' <header><span id="pv-pos"></span><span id="pv-step"></span><span id="pv-black" role="status" title="' + L.blackT + '" hidden>■ ' + L.black + '</span><span class="sp"></span>' +
55
55
  ' <button type="button" id="pv-back" aria-label="' + L.back + '" hidden>← ' + L.back + '</button>' +
56
56
  ' <span id="pv-bm" role="group" aria-label="' + L.bmGroup + '" hidden></span>' +
57
- ' <button type="button" id="pv-auto" title="' + L.autoKey + '" aria-pressed="false">▶ ' + L.auto + '</button>' + tools +
57
+ ' <button type="button" id="pv-auto" title="' + L.autoKey + '" aria-pressed="false" aria-label="' + L.auto + '">▶ <span class="pv-lb">' + L.auto + '</span></button>' + tools +
58
58
  '<button type="button" id="pv-reset" title="' + L.reset + '" aria-label="' + L.reset + '">⟲</button>' +
59
59
  ' <span id="pv-timer" role="timer">00:00</span><span id="pv-clock"></span>' +
60
- ' <button type="button" id="pv-close">' + L.close + '</button></header>' +
60
+ ' <button type="button" id="pv-close" title="' + L.close + '" aria-label="' + L.close + '"><span class="pv-lb">' + L.close + '</span></button></header>' +
61
61
  ' <main><div id="pv-cur"><iframe id="f-cur" title="' + L.cur + '"></iframe>' +
62
62
  // 前へ・次へ(handoff #104):キーやリモコンのない所(Sidecar の iPad の Apple Pencil・指のタッチ)でも送れる。帯と同じ言葉と絵、添え字にキー
63
63
  ' <div id="pv-nav"><button type="button" id="pv-go-prev" aria-label="' + L.goPrev + '">' + (ic.prev || "") + L.goPrev + '<kbd aria-hidden="true">←</kbd></button>' +
@@ -70,7 +70,7 @@ DECK.presenterView = function(){
70
70
  st.textContent =
71
71
  "html.presenter,html.presenter body{background:#1b1b1b;color:#eee;overflow:hidden;height:100%;margin:0}" +
72
72
  "#pv{display:flex;flex-direction:column;height:100vh;font:16px/1.5 var(--font-sans,sans-serif)}" +
73
- "#pv header{display:flex;gap:18px;align-items:center;padding:8px 16px;background:#111;font-size:18px}" +
73
+ "#pv header{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;padding:8px 16px;background:#111;font-size:18px}#pv header>*{white-space:nowrap;flex:none}#pv header>#pv-bm,#pv header>#pv-back{flex:0 1 auto;min-width:0}#pv header>.sp{flex:1 1 0}" +
74
74
  "#pv header .sp{flex:1}#pv-timer{font-size:28px;font-variant-numeric:tabular-nums}#pv-clock{color:#aaa;font-variant-numeric:tabular-nums}" +
75
75
  "#pv button{background:#333;color:#eee;border:1px solid #555;border-radius:6px;padding:4px 12px;font-size:15px;cursor:pointer}" +
76
76
  "#pv button:focus{outline:none}#pv button:focus-visible{outline:2px solid #9cf;outline-offset:2px}" +
@@ -95,7 +95,7 @@ DECK.presenterView = function(){
95
95
  "#pv-text .next{color:#888}#pv-text .next p{font-size:18px}" +
96
96
  "#pv-bm{display:flex;gap:4px;min-width:0;flex-wrap:wrap}#pv-bm[hidden],#pv-bm button[hidden]{display:none}" +
97
97
  "#pv-bm button{max-width:14em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#pv-bm button[aria-current=true]{border-color:#ddd}" +
98
- "#pv header button{height:34px}#pv-back{max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#pv-back[hidden]{display:none}" +
98
+ "#pv header button{height:34px}#pv header.pv-c1 #pv-close .pv-lb,#pv header.pv-c2 #pv-auto .pv-lb,#pv header.pv-c3 #pv-pos .pv-lb,#pv header.pv-c3 #pv-step .pv-lb{display:none}#pv header.pv-c3 #pv-step::before{content:'\\B7';margin-right:.5em;color:#888}#pv header.pv-c1 #pv-close::before{content:'\\2715'}#pv-back{max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#pv-back[hidden]{display:none}" +
99
99
  "#pv .pv-tools{display:flex;gap:4px}" +
100
100
  "#pv .pv-tools button{display:flex;align-items:center;gap:5px;padding:0 9px;user-select:none}" +
101
101
  "#pv .pv-tools button:hover{background:#3d3d3d}#pv .pv-tools button.on{background:#e8e8e8;color:#151515;border-color:#e8e8e8}" +
@@ -107,7 +107,7 @@ DECK.presenterView = function(){
107
107
  "#pv .pv-tools kbd{font:600 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;opacity:.6}" +
108
108
  "#pv-auto.on{background:#e8e8e8;color:#151515;border-color:#e8e8e8}" +
109
109
  // 暗転中(本体の画面が真っ黒):見落とさないように、地を反転した札
110
- "#pv-black{padding:2px 12px;border-radius:6px;background:#fff;color:#000;font-weight:700;letter-spacing:.04em;box-shadow:0 0 0 2px #e11d48}#pv-black[hidden]{display:none}" +
110
+ "#pv-black{flex:none;white-space:nowrap;padding:2px 12px;border-radius:6px;background:#fff;color:#000;font-weight:700;letter-spacing:.04em;box-shadow:0 0 0 2px #e11d48}#pv-black[hidden]{display:none}" +
111
111
  "#pv.pv-black #pv-cur iframe{opacity:.35}" +
112
112
  // まだキーを受けられない(窓にフォーカスがない)ときの覆い:最初のクリックを受けてフォーカスを取り、消える
113
113
  "#pv-tap{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);color:#fff;font-size:34px;font-weight:700;cursor:pointer;border:0;width:100%;border-radius:0}" +
@@ -128,6 +128,25 @@ DECK.presenterView = function(){
128
128
  on = !!on;
129
129
  document.getElementById("pv-black").hidden = !on;
130
130
  document.getElementById("pv").classList.toggle("pv-black", on);
131
+ fitHeader();
132
+ }
133
+ // 上の帯(handoff #105):項目は折り返さない(字を 1 字ずつ縦に並べない)。1 行に入らなければ、入りきらない分だけ字を省く
134
+ // (「発表者ビューを閉じる(p)」は ✕ だけ → 「自動再生」は ▶ だけ → 「スライド」「ステップ」は数だけ。名前は title と aria-label に残す)。それでも入らなければ帯を 2 段にする
135
+ function fitHeader(){
136
+ var h = document.querySelector("#pv header"); if (!h) return;
137
+ var wrapped = function(){
138
+ var top = null, items = h.children;
139
+ for (var i = 0; i < items.length; i++){
140
+ var it = items[i]; if (it.hidden || it.offsetParent === null || it.className === "sp") continue;
141
+ var r = it.getBoundingClientRect();
142
+ if (top === null) top = r; else if (r.top >= top.bottom - 2 || r.bottom <= top.top + 2) return true;
143
+ }
144
+ return h.scrollWidth > h.clientWidth + 1;
145
+ };
146
+ // 入りきらない分だけ省く。省く順:閉じるの字 → 自動再生の字 → 「スライド」「ステップ」(pv-c1〜pv-c3)
147
+ var lv = ["pv-c1", "pv-c2", "pv-c3"], n = 0;
148
+ lv.forEach(function(c){ h.classList.remove(c); });
149
+ while (n < lv.length && wrapped()) h.classList.add(lv[n++]);
131
150
  }
132
151
  function send(cmd, extra){ if (opener && !opener.closed) opener.postMessage(Object.assign({type: "deck-cmd", cmd: cmd}, extra || {}), "*"); }
133
152
  function notes(key){
@@ -146,17 +165,20 @@ DECK.presenterView = function(){
146
165
  function esc(s){ return String(s).replace(/[&<>]/g, function(c){ return {"&": "&amp;", "<": "&lt;", ">": "&gt;"}[c]; }); }
147
166
  function update(){
148
167
  if (!pos) return;
149
- document.getElementById("pv-pos").textContent = L.slide + (pos.i + 1) + " / " + pos.n;
168
+ // 帯の字:「スライド」「ステップ」・ボタンの字は .pv-lb(帯が 1 行に入らないときは省く。fitHeader)。textContent は今までと同じ
169
+ document.getElementById("pv-pos").innerHTML = '<span class="pv-lb">' + L.slide + '</span>' + (pos.i + 1) + " / " + pos.n;
150
170
  var ab = document.getElementById("pv-auto");
151
- ab.textContent = (pos.auto ? "■ " : "▶ ") + (pos.auto ? L.stop : L.auto); ab.classList.toggle("on", !!pos.auto);
171
+ ab.innerHTML = (pos.auto ? "■ " : "▶ ") + '<span class="pv-lb">' + (pos.auto ? L.stop : L.auto) + '</span>'; ab.classList.toggle("on", !!pos.auto);
172
+ ab.setAttribute("aria-label", pos.auto ? L.stop : L.auto);
152
173
  ab.setAttribute("aria-pressed", pos.auto ? "true" : "false");
153
174
  syncTools();
154
- document.getElementById("pv-step").textContent = L.step + pos.k + " / " + pos.max;
175
+ document.getElementById("pv-step").innerHTML = '<span class="pv-lb">' + L.step + '</span>' + pos.k + " / " + pos.max;
155
176
  syncBookmarks();
156
177
  // リンクで来たとき:本体と同じ「戻る」(しおりで来ているときは、しおりの「元の位置に戻る」を出す)
157
178
  var bb = document.getElementById("pv-back");
158
179
  bb.hidden = !pos.back || !!pos.bm;
159
180
  if (pos.back){ var c = DECK.ja === false ? ": " : ":"; bb.textContent = "← " + L.back + c + pos.back; bb.title = L.back + c + pos.back + (DECK.ja === false ? " (Backspace / Alt+←)" : "(Backspace / Alt+←)"); bb.setAttribute("aria-label", L.back + c + pos.back); }
181
+ fitHeader();
160
182
  fc.contentWindow && fc.contentWindow.postMessage({type: "deck-goto", i: pos.i, k: pos.k, animate: true, viewer: pos.viewer}, "*");
161
183
  // 次のスライド:段階が残っていても次のスライドを、すべてのステップを出した姿で(k は大きく送り、デッキが最後の段階に収める)。
162
184
  // 最後のスライドでは「終わり」
@@ -220,6 +242,7 @@ DECK.presenterView = function(){
220
242
  }
221
243
  DECK.presenterClose = closeView;
222
244
  document.getElementById("pv-close").onclick = function(){ closeView(); };
245
+ window.addEventListener("resize", fitHeader);
223
246
  // 開いたらフォーカスを取る。まだキーを受けられなければ、大きな覆いで最初のクリックを受ける
224
247
  var tap = document.createElement("button");
225
248
  tap.type = "button"; tap.id = "pv-tap"; tap.textContent = L.tap; tap.hidden = true;
package/kit/tools.js CHANGED
@@ -1223,7 +1223,7 @@ function helpHtml(){
1223
1223
  .concat(DECK.bookmarks && DECK.bookmarks().length ? [row(K("q"), j ? "次のしおりへ(最後の次は元の位置へ)" : "Next bookmark (after the last one, back to where you were)")] : [])),
1224
1224
  sec(j ? "表示" : "View", [row(K("a"), PLAY.play + " / " + PLAY.pause), row(K("<") + " " + K(">"), PLAY.rate + (j ? "(遅く / 速く)" : " (slower / faster)"))].concat(DECK.panes && !isDev() && (!DECK.panes.offered || DECK.panes.offered().length > 1) ? [row(K("r"), DECK.panes.order())] : []).concat([row(K("l"), j ? "先のステップを薄く見せる(l)" : "Show later steps faintly (l)"), row(K("s"), j ? "字幕" : "Captions"),
1225
1225
  row(K("Shift") + "+" + K("s"), j ? "字幕の大きさ(S / M / L)" : "Caption size (S / M / L)"),
1226
- row(K("b"), j ? "黒い画面" : "Black screen")].concat(canFull() ? [row(K("f"), j ? "全画面" : "Fullscreen")] : []).concat([row(K("p"), j ? "発表者ビュー" : "Presenter view")]).concat([
1226
+ row(K("b"), j ? "暗転" : "Black screen")].concat(canFull() ? [row(K("f"), j ? "全画面" : "Fullscreen")] : []).concat([row(K("p"), j ? "発表者ビュー" : "Presenter view")]).concat([
1227
1227
  row(K("?"), j ? "このキーの一覧" : "This help")]))),
1228
1228
  sec(j ? "ツール" : "Tools", [
1229
1229
  row(K("x"), j ? "レーザーポインター" : "Laser pointer"), row(K("d"), j ? "ペン" : "Pen"), row(K("v"), j ? "消えるペン" : "Fading pen"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egatari",
3
- "version": "0.6.20-rc.2",
3
+ "version": "0.6.20",
4
4
  "license": "MIT",
5
5
  "homepage": "https://studio.egatari.org/",
6
6
  "repository": {