diff --git a/renderer/components/basic/sortable-list.vue b/renderer/components/basic/sortable-list.vue index 5d6511fc..2fc29885 100644 --- a/renderer/components/basic/sortable-list.vue +++ b/renderer/components/basic/sortable-list.vue @@ -25,6 +25,10 @@ export default { type: Array, required: true, }, + disabled: { + type: Boolean, + default: false, + }, }, emits: { /** @@ -44,6 +48,7 @@ export default { }) function startPressing(startingEvent, index) { + if (props.disabled) return let cancelPressing const cancelTimeout = createTimeout(() => { cancelPressing() diff --git a/renderer/components/tab-list.vue b/renderer/components/tab-list.vue index a9127bf2..b079069f 100644 --- a/renderer/components/tab-list.vue +++ b/renderer/components/tab-list.vue @@ -25,7 +25,7 @@
- +