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 d4f3b8a commit 4920f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/player/CanvasPlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function resizePlayer() {
}
// 设置元素层级
function setElementLayer(type: 'up' | 'down') {
function setElementLayer(type: 'up' | 'down' | 'top' | 'bottom') {
const activeObject = canvas.getActiveObject()
if (!activeObject) return
switch (type) {
Expand Down

0 comments on commit 4920f1e

Please sign in to comment.