Skip to content

Commit

Permalink
fix: 修复元素选中时层级置顶的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrongding committed Apr 8, 2024
1 parent cbb3e51 commit 23b7fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/player/CanvasPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function initCanvas() {
stopContextMenu: true, // 禁止默认右键菜单
selection: true, // 是否开启选择
hoverCursor: 'pointer', // 鼠标悬停时的样式
preserveObjectStacking: true, // 保持对象的堆叠顺序(选中时不会置顶)
backgroundColor: '#000' // 画布背景色
})
resizePlayer()
Expand Down

0 comments on commit 23b7fc4

Please sign in to comment.