mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-27 18:54:39 +02:00
wip
This commit is contained in:
@@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
:enterFromClass="prefer.s.animation ? $style.transition_options_enterFrom : ''"
|
||||
:leaveToClass="prefer.s.animation ? $style.transition_options_leaveTo : ''"
|
||||
>
|
||||
<div v-if="showOptions" :class="$style.customize">
|
||||
<div v-show="showOptions" :class="$style.customize">
|
||||
<div class="_gaps">
|
||||
<MkInput v-model="avatarName">
|
||||
<template #label>{{ i18n.ts.name }}</template>
|
||||
|
||||
@@ -203,7 +203,7 @@ watch(selectedId, (newId) => {
|
||||
});
|
||||
|
||||
function updateObjectOption(k: string, v: any) {
|
||||
controller.updateObjectOption(k, v, attachments);
|
||||
controller.updateObjectOption(k, deepClone(v), attachments);
|
||||
selectedObjectOptionsState.value![k] = v;
|
||||
}
|
||||
|
||||
@@ -341,9 +341,10 @@ async function cancel() {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: stretch;
|
||||
height: 100%;
|
||||
width: 300px;
|
||||
overflow: auto;
|
||||
scrollbar-gutter: stable;
|
||||
box-sizing: border-box;
|
||||
padding: 32px 16px 16px 16px;
|
||||
background: var(--MI_THEME-panel);
|
||||
|
||||
@@ -433,7 +433,7 @@ function showSnappingMenu(ev: PointerEvent) {
|
||||
|
||||
function updateObjectOption(k: string, v: any) {
|
||||
// TODO: podtMrssageのコスト削減のためattachmentsは更新がある場合のみ送る
|
||||
controller.updateObjectOption(controller.selected.value.objectId, k, v, attachments);
|
||||
controller.updateObjectOption(controller.selected.value.objectId, k, deepClone(v), attachments);
|
||||
}
|
||||
|
||||
async function addObject(ev: PointerEvent) {
|
||||
|
||||
Reference in New Issue
Block a user