Add copy chat message feature in Chat panel and enable usage in 'use chat copy' setting.
- Added 'copied' string to language translation in multiple translations file. - Added 'CopyIcon' to svelte import. - Defined a new status message variable in Chat.svelte. - Created a new function 'setStatusMessage' to display the current panel's state after certain action. - Added a new setting 'useChatCopy' in 'DisplaySettings.svelte'. - Created a checkbox with label 'useChatCopy' to toggle the Chat message copy. - Integrated Clipboard API in Chat code to handle chat message copy via button click.
This commit is contained in:
@@ -145,5 +145,9 @@
|
||||
}}/>
|
||||
<span>{language.textScreenBorder}</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
<div class="flex items-center mt-2">
|
||||
<Check bind:check={$DataBase.useChatCopy}/>
|
||||
<span>{language.useChatCopy}</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user