Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Sep 30, 2024
1 parent e28a1f2 commit f545b46
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/graph/GraphCanvasMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
v-tooltip.left="
t('graphCanvasMenu.' + (canvasStore.readOnly ? 'unlock' : 'lock'))
"
@click="() => commandStore.getCommandFunction('Comfy.Canvas.ToggleLock')()"
@click="
() => commandStore.getCommandFunction('Comfy.Canvas.ToggleLock')()
"
>
<template #icon>
<i-material-symbols:lock-outline v-if="canvasStore.readOnly" />
Expand Down Expand Up @@ -63,7 +65,7 @@ const stopRepeat = () => {
}
</script>

<style lang="css" scoped>
<style scoped>
.p-buttongroup-vertical {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit f545b46

Please sign in to comment.