diff --git a/dist/index.css b/dist/index.css index 2f467736..9e081459 100644 --- a/dist/index.css +++ b/dist/index.css @@ -794,7 +794,6 @@ body[showing-chat] #chat-page-wrapper { display: flex; align-items: center; background: var(--surface-alt); - height: var(--control-height); max-width: var(--max-input-width); width: 100%; overflow: hidden; @@ -803,9 +802,11 @@ body[showing-chat] #chat-page-wrapper { .message-bubble > .inline-reply { border-left: var(--outline-width) solid var(--primary); gap: var(--text-gap); + height: var(--control-height); } .message-bubble > .reply-link { gap: 5px; + height: var(--control-height); } .message-bubble > .message-reaction-row { padding: var(--gap-between-tiles); diff --git a/dist/index.js b/dist/index.js index caaf28a5..dda1a90f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1305,7 +1305,7 @@ this.connectionModel = connectionModel2; this.chatListModel = chatListModel2; this.fileTransferModel = fileTransferModel2; - this.BUILD = "Build 26.09.23.B"; + this.BUILD = "Build 26.09.23.C"; // CONTEXT this.contextStack = /* @__PURE__ */ new Map(); this.closeContext = (contextId, fromHistoryEvent = false) => { @@ -4269,12 +4269,14 @@ isDeleting ); }; - this.setReply = (chatMessageViewModel) => { + this.setReply = (chatMessageViewModel, setFocus = true) => { this.replyingMessage.value = chatMessageViewModel; + if (setFocus == false || chatMessageViewModel == void 0) return; this.setFocus(); }; - this.resetReply = () => { + this.resetReply = (setFocus = true) => { this.replyingMessage.value = void 0; + if (setFocus == false) return; this.setFocus(); }; // view @@ -4320,11 +4322,11 @@ this.setReplyView = (message) => { this.replyViewSelectedMessage.value = message; this.revokeReactionFilter(); - this.setReply(message); + this.setReply(message, false); }; this.resetReplyView = () => { this.replyViewSelectedMessage.value = void 0; - this.resetReply(); + this.resetReply(false); }; this.setFocus = () => { this.focusSetter.callSubscriptions();