Skip to content

Commit 60d53d9

Browse files
committed
fix: restore memo position inside controller panel and bump client version
1 parent 74497c3 commit 60d53d9

2 files changed

Lines changed: 21 additions & 20 deletions

File tree

src/lib/mobileCompanionUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const configuredMobileCompanionOrigin =
33

44
export const MOBILE_COMPANION_ORIGIN =
55
configuredMobileCompanionOrigin || "https://nnnsmm.github.io/Launcherg-Mod/";
6-
export const MOBILE_COMPANION_CLIENT_VERSION = "mobile-pwa-v13";
6+
export const MOBILE_COMPANION_CLIENT_VERSION = "mobile-pwa-v14";
77
export const SKYWAY_CONNECT_ENDPOINT = "https://launcherg.ryoha.moe/connect";
88

99
export type MobileCompanionUrlParams = {

src/views/MobileCompanion.svelte

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,26 +1267,27 @@
12671267
<span class="i-material-symbols:visibility-off-outline-rounded text-[22px]" />
12681268
<span>文字消しスクショ</span>
12691269
</button>
1270-
</section>
12711270

1272-
<section class="memo-preview">
1273-
<div class="section-head">
1274-
<h2>メモ</h2>
1275-
<span class="subtle">編集</span>
1276-
</div>
1277-
<div class="detail-memo-editor">
1278-
<textarea
1279-
bind:value={memoText}
1280-
placeholder="メモを入力"
1281-
/>
1282-
<button
1283-
type="button"
1284-
disabled={connectionState !== "connected" || selectedGameId === null}
1285-
on:click={syncMemo}
1286-
>
1287-
メモを同期
1288-
</button>
1289-
</div>
1271+
<section class="memo-preview" style="flex-shrink: 0;">
1272+
<div class="section-head">
1273+
<h2>メモ</h2>
1274+
<span class="subtle">編集</span>
1275+
</div>
1276+
<div class="detail-memo-editor">
1277+
<textarea
1278+
bind:value={memoText}
1279+
placeholder="メモを入力"
1280+
/>
1281+
<button
1282+
type="button"
1283+
disabled={connectionState !== "connected" || selectedGameId === null}
1284+
on:click={syncMemo}
1285+
>
1286+
メモを同期
1287+
</button>
1288+
</div>
1289+
</section>
1290+
12901291
</section>
12911292
{:else}
12921293
<section class="empty-state controller-waiting">

0 commit comments

Comments
 (0)