Skip to content

Commit

Permalink
chatTweaks: fix double click edit not being disablable
Browse files Browse the repository at this point in the history
  • Loading branch information
Cynosphere committed Jan 13, 2025
1 parent 7471b60 commit 21750ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/chatTweaks/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"$schema": "https://moonlight-mod.github.io/manifest.schema.json",
"id": "chatTweaks",
"version": "1.0.4",
"version": "1.0.5",
"meta": {
"name": "Chat Tweaks",
"tagline": "Various tweaks to chatting. Every feature togglable.",
"authors": ["Cynosphere", "Jane Shimmer"],
"tags": ["qol", "chat"],
"source": "https://github.com/Cynosphere/moonlight-extensions"
"source": "https://github.com/Cynosphere/moonlight-extensions",
"changelog": "Fixed double click edit not actually being disableable"
},
"dependencies": ["spacepack", "common"],
"settings": {
Expand Down
2 changes: 1 addition & 1 deletion src/chatTweaks/webpackModules/doubleClick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function onDoubleClick({ message }: { message: any }, event: Mous
} else if (!event.shiftKey) {
if (swapSelf && allowReply) {
reply = true;
} else {
} else if (allowEdit) {
edit = true;
}
}
Expand Down

0 comments on commit 21750ae

Please sign in to comment.