This commit is contained in:
marlon-erler
2026-09-23 15:30:31 +02:00
parent 9c45fbc426
commit bb3f148a75
2 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -794,7 +794,6 @@ body[showing-chat] #chat-page-wrapper {
display: flex; display: flex;
align-items: center; align-items: center;
background: var(--surface-alt); background: var(--surface-alt);
height: var(--control-height);
max-width: var(--max-input-width); max-width: var(--max-input-width);
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
@@ -803,9 +802,11 @@ body[showing-chat] #chat-page-wrapper {
.message-bubble > .inline-reply { .message-bubble > .inline-reply {
border-left: var(--outline-width) solid var(--primary); border-left: var(--outline-width) solid var(--primary);
gap: var(--text-gap); gap: var(--text-gap);
height: var(--control-height);
} }
.message-bubble > .reply-link { .message-bubble > .reply-link {
gap: 5px; gap: 5px;
height: var(--control-height);
} }
.message-bubble > .message-reaction-row { .message-bubble > .message-reaction-row {
padding: var(--gap-between-tiles); padding: var(--gap-between-tiles);
+7 -5
View File
@@ -1305,7 +1305,7 @@
this.connectionModel = connectionModel2; this.connectionModel = connectionModel2;
this.chatListModel = chatListModel2; this.chatListModel = chatListModel2;
this.fileTransferModel = fileTransferModel2; this.fileTransferModel = fileTransferModel2;
this.BUILD = "Build 26.09.23.B"; this.BUILD = "Build 26.09.23.C";
// CONTEXT // CONTEXT
this.contextStack = /* @__PURE__ */ new Map(); this.contextStack = /* @__PURE__ */ new Map();
this.closeContext = (contextId, fromHistoryEvent = false) => { this.closeContext = (contextId, fromHistoryEvent = false) => {
@@ -4269,12 +4269,14 @@
isDeleting isDeleting
); );
}; };
this.setReply = (chatMessageViewModel) => { this.setReply = (chatMessageViewModel, setFocus = true) => {
this.replyingMessage.value = chatMessageViewModel; this.replyingMessage.value = chatMessageViewModel;
if (setFocus == false || chatMessageViewModel == void 0) return;
this.setFocus(); this.setFocus();
}; };
this.resetReply = () => { this.resetReply = (setFocus = true) => {
this.replyingMessage.value = void 0; this.replyingMessage.value = void 0;
if (setFocus == false) return;
this.setFocus(); this.setFocus();
}; };
// view // view
@@ -4320,11 +4322,11 @@
this.setReplyView = (message) => { this.setReplyView = (message) => {
this.replyViewSelectedMessage.value = message; this.replyViewSelectedMessage.value = message;
this.revokeReactionFilter(); this.revokeReactionFilter();
this.setReply(message); this.setReply(message, false);
}; };
this.resetReplyView = () => { this.resetReplyView = () => {
this.replyViewSelectedMessage.value = void 0; this.replyViewSelectedMessage.value = void 0;
this.resetReply(); this.resetReply(false);
}; };
this.setFocus = () => { this.setFocus = () => {
this.focusSetter.callSubscriptions(); this.focusSetter.callSubscriptions();