Skip to content

Commit

Permalink
Fix non-returning to the previous message edit size
Browse files Browse the repository at this point in the history
Add the condition to onPanelResized()
  • Loading branch information
nkonev committed Nov 10, 2023
1 parent 46c4307 commit f5b793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ChatView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export default {
}
},
onPanelResized(e) {
if (!this.isMobile()) {
if (!this.prevMessageEditSize && !this.isMobile()) {
//console.log(">>> onPanelResized", e)
const pane = e[e.length - 1];
this.messageEditSize = pane.size;
Expand Down

0 comments on commit f5b793b

Please sign in to comment.