Spaces:
Running
Running
Commit ยท
5831686
1
Parent(s): 4705837
Tutorial: 3x larger panels/text, add 5 more tour steps
Browse files- Prompt panel: padding 60/80, msg 42px, buttons 28px, checkbox 24px
- Tooltip: padding 36/44, body 28px, nav buttons 22px, max-width 600px
- New steps: rest toggle, delete, undo/redo, triplet, playback (12 total)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- static/corrector.css +14 -13
- static/corrector.js +11 -6
static/corrector.css
CHANGED
|
@@ -520,18 +520,19 @@ body.mode-barline #marker-svg .marker { opacity: 0.3; transition: opacity .15s;
|
|
| 520 |
#tour-prompt.hidden { display: none; }
|
| 521 |
#tour-prompt-inner {
|
| 522 |
background: var(--bg-2); border: 1px solid var(--line-strong);
|
| 523 |
-
border-radius:
|
| 524 |
-
box-shadow: var(--shadow-lg); text-align: center; min-width:
|
| 525 |
}
|
| 526 |
#tour-prompt-msg {
|
| 527 |
-
font-size:
|
| 528 |
}
|
| 529 |
#tour-prompt-skip-label {
|
| 530 |
-
display: block; font-size:
|
| 531 |
}
|
| 532 |
-
#tour-prompt-
|
|
|
|
| 533 |
#tour-prompt-btns button {
|
| 534 |
-
padding:
|
| 535 |
}
|
| 536 |
#tour-btn-yes { background: var(--accent); color: #fff; }
|
| 537 |
#tour-btn-yes:hover { filter: brightness(1.1); }
|
|
@@ -551,9 +552,9 @@ body.mode-barline #marker-svg .marker { opacity: 0.3; transition: opacity .15s;
|
|
| 551 |
|
| 552 |
#tour-tooltip {
|
| 553 |
position: fixed; z-index: 9300;
|
| 554 |
-
background: var(--bg-2); border:
|
| 555 |
-
border-radius:
|
| 556 |
-
box-shadow: var(--shadow-lg); max-width:
|
| 557 |
animation: tour-fade-in 0.25s ease;
|
| 558 |
}
|
| 559 |
#tour-tooltip.hidden { display: none; }
|
|
@@ -562,17 +563,17 @@ body.mode-barline #marker-svg .marker { opacity: 0.3; transition: opacity .15s;
|
|
| 562 |
to { opacity: 1; transform: translateY(0); }
|
| 563 |
}
|
| 564 |
#tour-tooltip-body {
|
| 565 |
-
font-size:
|
| 566 |
}
|
| 567 |
#tour-tooltip-footer {
|
| 568 |
display: flex; align-items: center; justify-content: space-between;
|
| 569 |
}
|
| 570 |
#tour-step-indicator {
|
| 571 |
-
font-size:
|
| 572 |
}
|
| 573 |
-
#tour-tooltip-btns { display: flex; gap:
|
| 574 |
#tour-tooltip-btns button {
|
| 575 |
-
padding:
|
| 576 |
}
|
| 577 |
#tour-btn-prev { background: var(--bg-3); color: var(--ink-1); }
|
| 578 |
#tour-btn-next { background: var(--accent); color: #fff; }
|
|
|
|
| 520 |
#tour-prompt.hidden { display: none; }
|
| 521 |
#tour-prompt-inner {
|
| 522 |
background: var(--bg-2); border: 1px solid var(--line-strong);
|
| 523 |
+
border-radius: 18px; padding: 60px 80px;
|
| 524 |
+
box-shadow: var(--shadow-lg); text-align: center; min-width: 500px;
|
| 525 |
}
|
| 526 |
#tour-prompt-msg {
|
| 527 |
+
font-size: 42px; color: var(--ink-0); margin-bottom: 36px; font-weight: 600;
|
| 528 |
}
|
| 529 |
#tour-prompt-skip-label {
|
| 530 |
+
display: block; font-size: 24px; color: var(--ink-2); margin-bottom: 40px; cursor: pointer;
|
| 531 |
}
|
| 532 |
+
#tour-prompt-skip-label input[type="checkbox"] { width: 20px; height: 20px; vertical-align: middle; }
|
| 533 |
+
#tour-prompt-btns { display: flex; gap: 24px; justify-content: center; }
|
| 534 |
#tour-prompt-btns button {
|
| 535 |
+
padding: 18px 56px; border-radius: 10px; font-size: 28px; cursor: pointer; border: none;
|
| 536 |
}
|
| 537 |
#tour-btn-yes { background: var(--accent); color: #fff; }
|
| 538 |
#tour-btn-yes:hover { filter: brightness(1.1); }
|
|
|
|
| 552 |
|
| 553 |
#tour-tooltip {
|
| 554 |
position: fixed; z-index: 9300;
|
| 555 |
+
background: var(--bg-2); border: 3px solid var(--accent);
|
| 556 |
+
border-radius: 14px; padding: 36px 44px;
|
| 557 |
+
box-shadow: var(--shadow-lg); max-width: 600px;
|
| 558 |
animation: tour-fade-in 0.25s ease;
|
| 559 |
}
|
| 560 |
#tour-tooltip.hidden { display: none; }
|
|
|
|
| 563 |
to { opacity: 1; transform: translateY(0); }
|
| 564 |
}
|
| 565 |
#tour-tooltip-body {
|
| 566 |
+
font-size: 28px; color: var(--ink-0); line-height: 1.7; margin-bottom: 28px;
|
| 567 |
}
|
| 568 |
#tour-tooltip-footer {
|
| 569 |
display: flex; align-items: center; justify-content: space-between;
|
| 570 |
}
|
| 571 |
#tour-step-indicator {
|
| 572 |
+
font-size: 22px; color: var(--ink-2); font-family: var(--font-mono, monospace);
|
| 573 |
}
|
| 574 |
+
#tour-tooltip-btns { display: flex; gap: 14px; }
|
| 575 |
#tour-tooltip-btns button {
|
| 576 |
+
padding: 12px 30px; border-radius: 8px; font-size: 22px; cursor: pointer; border: none;
|
| 577 |
}
|
| 578 |
#tour-btn-prev { background: var(--bg-3); color: var(--ink-1); }
|
| 579 |
#tour-btn-next { background: var(--accent); color: #fff; }
|
static/corrector.js
CHANGED
|
@@ -10682,13 +10682,18 @@ function copyBarlinePattern(fromSysIdx, toSysIdx) {
|
|
| 10682 |
const LS_KEY = "omr_corrector_skip_tutorial";
|
| 10683 |
|
| 10684 |
const STEPS = [
|
| 10685 |
-
{ target: "#canvas-wrapper",
|
| 10686 |
-
{ target: "#btn-up",
|
| 10687 |
{ target: "#btn-dur-quarter", text: "์ํ ๊ธธ์ด ๋ณ๊ฒฝ ๋ฒํผ์
๋๋ค.\n์ซ์ํค 1(์จ์ํ)~7(32๋ถ์ํ)๋ก ๋น ๋ฅด๊ฒ ๋ฐ๊ฟ ์ ์์ต๋๋ค.\n์ (.) ํค๋ก ์ ์ํ๋ฅผ ํ ๊ธํฉ๋๋ค." },
|
| 10688 |
-
{ target: "#btn-sharp",
|
| 10689 |
-
{ target: "#btn-
|
| 10690 |
-
{ target: "#btn-
|
| 10691 |
-
{ target: "#btn-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10692 |
];
|
| 10693 |
|
| 10694 |
let currentStep = -1;
|
|
|
|
| 10682 |
const LS_KEY = "omr_corrector_skip_tutorial";
|
| 10683 |
|
| 10684 |
const STEPS = [
|
| 10685 |
+
{ target: "#canvas-wrapper", text: "์
๋ณด ์์ญ์
๋๋ค.\n๋ง์ปค๋ฅผ ํด๋ฆญํ๋ฉด ์ํ๊ฐ ์ ํ๋ฉ๋๋ค.\nCtrl+ํด๋ฆญ์ผ๋ก ์ฌ๋ฌ ์ํ๋ฅผ ๋์์ ์ ํํ ์ ์์ต๋๋ค." },
|
| 10686 |
+
{ target: "#btn-up", text: "์ ๋์ด ๋ณ๊ฒฝ ๋ฒํผ์
๋๋ค.\nโโ ๋ฐฉํฅํค๋ก๋ ์กฐ์ํ ์ ์์ต๋๋ค.\n์ ํํ ์ํ์ ํผ์น๋ฅผ ๋ฐ์ ๋จ์๋ก ์ฌ๋ฆฌ๊ฑฐ๋ ๋ด๋ฆฝ๋๋ค." },
|
| 10687 |
{ target: "#btn-dur-quarter", text: "์ํ ๊ธธ์ด ๋ณ๊ฒฝ ๋ฒํผ์
๋๋ค.\n์ซ์ํค 1(์จ์ํ)~7(32๋ถ์ํ)๋ก ๋น ๋ฅด๊ฒ ๋ฐ๊ฟ ์ ์์ต๋๋ค.\n์ (.) ํค๋ก ์ ์ํ๋ฅผ ํ ๊ธํฉ๋๋ค." },
|
| 10688 |
+
{ target: "#btn-sharp", text: "์์ํ(#/b/โฎ) ๋ณ๊ฒฝ ๋ฒํผ์
๋๋ค.\n์ ํํ ์ํ์ ์ต, ํ๋ซ, ๋ด์ถ๋ด ๋ฑ์ ์ ์ฉํฉ๋๋ค." },
|
| 10689 |
+
{ target: "#btn-rest-toggle", text: "์ํ โ ์ผํ ์ ํ (R ํค).\n์ ํํ ์ํ๋ฅผ ์ผํ๋ก, ์ผํ๋ฅผ ์ํ๋ก ๋ฐ๊ฟ๋๋ค." },
|
| 10690 |
+
{ target: "#btn-delete", text: "์ํ ์ญ์ (Del ํค).\n์ ํํ ์ํ๋ฅผ ์
๋ณด์์ ์ ๊ฑฐํฉ๋๋ค." },
|
| 10691 |
+
{ target: "#btn-undo", text: "์คํ์ทจ์ / ๋ค์์คํ (Ctrl+Z / Ctrl+Y).\n์๋ชป๋ ํธ์ง์ ๋๋๋ฆฌ๊ฑฐ๋ ๋ณต์ํฉ๋๋ค." },
|
| 10692 |
+
{ target: "#btn-triplet", text: "์
์๋จ(Triplet) ์ ์ฉ/ํด์ .\n์ ํ ์ํ์ ๊ธธ์ด๋ฅผ ร2/3 ๋๋ ร3/2๋ก ๋ฐ๊ฟ๋๋ค." },
|
| 10693 |
+
{ target: "#btn-timeline", text: "ํ์๋ผ์ธ(TL) ํจ๋์ ์ฝ๋๋ค.\n๋ง๋ ์์์ ์ํ๋ค์ ์๊ฐ ๋ฐฐ์น๋ฅผ ์๊ฐ์ ์ผ๋ก ํ์ธํ๊ณ ,\n๋๋๊ทธ๋ก ์์น๋ฅผ ์กฐ์ ํ ์ ์์ต๋๋ค." },
|
| 10694 |
+
{ target: "#btn-auto-align", text: "๋ง๋ ์๋ ์ ๋ ฌ (Shift+A).\n์ ํํ ๋ง๋์ ์ํ ๊ฐ๊ฒฉ์ ๊ท ๋ฑํ๊ฒ ๋ง์ถฅ๋๋ค." },
|
| 10695 |
+
{ target: "#btn-playall", text: "์ ์ฒด ์ฌ์ (Space ํค).\n์
๋ณด๋ฅผ ์ฒ์๋ถํฐ ๋๊น์ง ์๋ฆฌ๋ก ๋ค์ด๋ณผ ์ ์์ต๋๋ค.\nBPM๊ณผ ๋ณผ๋ฅจ๋ ์กฐ์ ๊ฐ๋ฅํฉ๋๋ค." },
|
| 10696 |
+
{ target: "#btn-download", text: "์์ฑ๋ ์
๋ณด๋ฅผ XML ๋๋ MML ํ์ผ๋ก ๋ด๋ณด๋
๋๋ค." },
|
| 10697 |
];
|
| 10698 |
|
| 10699 |
let currentStep = -1;
|