Skip to content

Commit

Permalink
fix: add command key for multiple functional
Browse files Browse the repository at this point in the history
  • Loading branch information
SonyLeo committed Feb 19, 2025
1 parent 724b3cf commit a49ecf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/canvas/container/src/CanvasContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default {
// 多选组合键触发
if (element) {
const selectedState = getMultiState(element, doc)
if (event.ctrlKey && event.button === 0) {
if ((event.ctrlKey && event.button === 0) || event.metaKey) {
handleMultiState(multiSelectedStates, selectedState)
return
}
Expand Down

0 comments on commit a49ecf5

Please sign in to comment.