@textadventures/quest-viva-wasmplayer 6.0.0-beta.56 → 6.0.0-beta.57
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/_framework/Common.wasm +0 -0
- package/_framework/Engine.wasm +0 -0
- package/_framework/Legacy.wasm +0 -0
- package/_framework/PlayerCore.wasm +0 -0
- package/_framework/WasmPlayer.wasm +0 -0
- package/_framework/dotnet.boot.js +6 -6
- package/index.html +1 -1
- package/package.json +1 -1
- package/playercore.js +11 -1
package/_framework/Common.wasm
CHANGED
|
Binary file
|
package/_framework/Engine.wasm
CHANGED
|
Binary file
|
package/_framework/Legacy.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const config = /*json-start*/{
|
|
2
2
|
"mainAssemblyName": "WasmPlayer.dll",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-1IjPEvvC42SmC0Z1qe7SujMgBpAMlPzodJ2lu8rF7iU=",
|
|
5
5
|
"jsModuleNative": [
|
|
6
6
|
{
|
|
7
7
|
"name": "dotnet.native.js"
|
|
@@ -939,27 +939,27 @@ export const config = /*json-start*/{
|
|
|
939
939
|
{
|
|
940
940
|
"virtualPath": "Common.wasm",
|
|
941
941
|
"name": "Common.wasm",
|
|
942
|
-
"hash": "sha256-
|
|
942
|
+
"hash": "sha256-txuoGYNFIT7kV6fBAQuEJ/aOF1kzL3ACcV6KE7QS2iY="
|
|
943
943
|
},
|
|
944
944
|
{
|
|
945
945
|
"virtualPath": "Engine.wasm",
|
|
946
946
|
"name": "Engine.wasm",
|
|
947
|
-
"hash": "sha256-
|
|
947
|
+
"hash": "sha256-DDSHRNfIoFiEHgInjs4k9hMhzjh+YhUQ76xwKJk6N4A="
|
|
948
948
|
},
|
|
949
949
|
{
|
|
950
950
|
"virtualPath": "Legacy.wasm",
|
|
951
951
|
"name": "Legacy.wasm",
|
|
952
|
-
"hash": "sha256-
|
|
952
|
+
"hash": "sha256-RlhHBBWIkw8bHWwgrBJZ/3pZWlXJsML4auIVWjvme1k="
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
955
|
"virtualPath": "PlayerCore.wasm",
|
|
956
956
|
"name": "PlayerCore.wasm",
|
|
957
|
-
"hash": "sha256-
|
|
957
|
+
"hash": "sha256-9LvsVVijNT0+RhcdDx4Wp1xDXfMR4tCtK44OAWBU884="
|
|
958
958
|
},
|
|
959
959
|
{
|
|
960
960
|
"virtualPath": "WasmPlayer.wasm",
|
|
961
961
|
"name": "WasmPlayer.wasm",
|
|
962
|
-
"hash": "sha256-
|
|
962
|
+
"hash": "sha256-gdsRHx7fDmJx1n/zi1/6Fn3+mJDoUy3mtbQV9lYG0OY="
|
|
963
963
|
}
|
|
964
964
|
],
|
|
965
965
|
"assembly": []
|
package/index.html
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<script type="text/javascript" src="playercore.js"></script>
|
|
37
37
|
<script type="text/javascript" src="player.js"></script>
|
|
38
38
|
<script type="text/javascript" src="lib/paper.js"></script>
|
|
39
|
-
<script>window.QuestVivaVersion = "6.0.0-beta.
|
|
39
|
+
<script>window.QuestVivaVersion = "6.0.0-beta.57";</script>
|
|
40
40
|
<script type="text/javascript" src="wasm-player.js"></script>
|
|
41
41
|
</head>
|
|
42
42
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@textadventures/quest-viva-wasmplayer",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.57",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Quest Viva WasmPlayer runtime (browser-WASM text adventure player), published for CDN-linked single-file game exports.",
|
|
6
6
|
"license": "MIT",
|
package/playercore.js
CHANGED
|
@@ -266,6 +266,11 @@ function initPlayerUI() {
|
|
|
266
266
|
const newPanelImageMaxHeight = `${(window.innerHeight - 30) * 0.5}px`;
|
|
267
267
|
updatePanelImageMaxHeight(newPanelImageMaxHeight);
|
|
268
268
|
|
|
269
|
+
// cmdShowPanes.style.display was just set above - recompute #qv-status's own
|
|
270
|
+
// visibility now in case resizing past the narrow-window threshold is what
|
|
271
|
+
// just made (or unmade) the hamburger button #qv-status's only visible child.
|
|
272
|
+
updateStatusVisibility();
|
|
273
|
+
|
|
269
274
|
wasWide = isWide;
|
|
270
275
|
}
|
|
271
276
|
|
|
@@ -543,7 +548,12 @@ function uiHide(element) {
|
|
|
543
548
|
}
|
|
544
549
|
|
|
545
550
|
function updateStatusVisibility() {
|
|
546
|
-
|
|
551
|
+
// #cmdDebug and #cmdShowPanes can each be visible on their own (editor-preview
|
|
552
|
+
// sessions force Debug on regardless of location/save; #cmdShowPanes only shows
|
|
553
|
+
// itself up on a narrow window - see doLayout()) - #qv-status must stay up
|
|
554
|
+
// whenever any of the four buttons/location it hosts is actually showing.
|
|
555
|
+
var anyVisible = isElementVisible("#location") || isElementVisible("#cmdSave")
|
|
556
|
+
|| isElementVisible("#cmdDebug") || isElementVisible("#cmdShowPanes");
|
|
547
557
|
if (anyVisible) {
|
|
548
558
|
$("#qv-status").show();
|
|
549
559
|
$("#divOutput").css("margin-top", "20px");
|