merge: upstream

This commit is contained in:
Marie 2024-01-09 10:35:10 +01:00
commit d974b30e56
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
23 changed files with 325 additions and 143 deletions

View file

@ -43,6 +43,7 @@ const props = withDefaults(defineProps<{
const emit = defineEmits<{
(ev: 'update:modelValue', value: number): void;
(ev: 'dragEnded', value: number): void;
}>();
const containerEl = shallowRef<HTMLElement>();
@ -143,6 +144,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => {
//
if (beforeValue !== finalValue.value) {
emit('update:modelValue', finalValue.value);
emit('dragEnded', finalValue.value);
}
};