@luna-editor/engine 0.5.7 → 0.5.9

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.
Files changed (2) hide show
  1. package/dist/Player.js +1 -2
  2. package/package.json +1 -1
package/dist/Player.js CHANGED
@@ -16,7 +16,6 @@ import { BackgroundLayer } from "./components/BackgroundLayer";
16
16
  import { ClickWaitIndicator } from "./components/ClickWaitIndicator";
17
17
  import { ConversationBranchBox } from "./components/ConversationBranchBox";
18
18
  import { DialogueBox } from "./components/DialogueBox";
19
- import { EndScreen } from "./components/EndScreen";
20
19
  import { FullscreenTextBox } from "./components/FullscreenTextBox";
21
20
  import { GameScreen } from "./components/GameScreen";
22
21
  import { OverlayUI } from "./components/OverlayUI";
@@ -968,7 +967,7 @@ export const Player = ({ scenario: scenarioProp, settings, plugins = EMPTY_PLUGI
968
967
  return width / height;
969
968
  };
970
969
  // 条件付きレンダリングを JSX で処理(フックの後、early return なし)
971
- return (_jsxs(_Fragment, { children: [!currentBlock && !state.isEnded && (_jsx("div", { className: clsx("flex items-center justify-center p-8", className), children: _jsx("p", { className: "text-gray-500", children: "\u30B7\u30CA\u30EA\u30AA\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093" }) })), state.isEnded && (_jsx(EndScreen, { scenarioName: scenario.name, onRestart: restart, className: className })), currentBlock && !state.isEnded && (_jsxs(_Fragment, { children: [(!imagesLoaded ||
970
+ return (_jsxs(_Fragment, { children: [!currentBlock && !state.isEnded && (_jsx("div", { className: clsx("flex items-center justify-center p-8", className), children: _jsx("p", { className: "text-gray-500", children: "\u30B7\u30CA\u30EA\u30AA\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093" }) })), currentBlock && !state.isEnded && (_jsxs(_Fragment, { children: [(!imagesLoaded ||
972
971
  !fontsLoaded ||
973
972
  !isFirstRenderComplete ||
974
973
  !pluginsLoaded) && (_jsx("div", { className: clsx("luna-player fixed inset-0 bg-black overflow-hidden flex items-center justify-center z-50", className), style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luna-editor/engine",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "description": "Luna Editor scenario playback engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",