fix: right click

This commit is contained in:
Dogtiti 2024-08-29 20:48:04 +08:00
parent b6bb1673d4
commit 19c7a84548
1 changed files with 1 additions and 1 deletions

View File

@ -1587,7 +1587,7 @@ function _Chat() {
message.content.length === 0 &&
!isUser
}
onContextMenu={(e) => onRightClick(e, message)}
// onContextMenu={(e) => onRightClick(e, message)} // hard to use
onDoubleClickCapture={() => {
if (!isMobileScreen) return;
setUserInput(getMessageTextContent(message));