Skip to content

Commit

Permalink
Update main_mixlab.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Aug 31, 2024
1 parent ab6210e commit fc41d97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/javascript/main_mixlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -1147,10 +1147,10 @@ app.registerExtension({
type: 'video',
name: 'FloatingVideo',
draw (ctx, node, widget_width, y, widget_height) {
Object.assign(
this.card.style,
get_position_style(ctx, widget_width, y, node.size[1], 0)
)
Object.assign(this.card.style, {
...get_position_style(ctx, widget_width, y, node.size[1], 40),
top: `${widget_height}px`
})
}
}

Expand Down

0 comments on commit fc41d97

Please sign in to comment.