feat: enhance customization options with new 'Mes Persos' panel and improved context menus

This commit is contained in:
arussac
2026-05-31 15:04:51 +02:00
parent 1a76e9076c
commit 02bba16285
10 changed files with 426 additions and 32 deletions

View File

@@ -19,11 +19,13 @@
import { computed } from 'vue';
import { openContextMenu } from '@/composables/useContextMenu';
import { useCustomStyles, SEND_BUTTON_PRESETS } from '@/composables/useCustomStyles';
import { useMyPerks } from '@/composables/useMessages';
defineProps<{ disabled?: boolean }>();
defineEmits<{ send: [] }>();
const { prefs } = useCustomStyles();
const { myPerks } = useMyPerks();
const btnStyle = computed(() => {
const p = SEND_BUTTON_PRESETS[prefs.sendButton];
@@ -31,6 +33,7 @@ const btnStyle = computed(() => {
});
function onRightClick(e: MouseEvent): void {
if (!myPerks.value.elementSkin) return;
openContextMenu({
x: e.clientX,
y: e.clientY,