Skip to content

Commit

Permalink
Display video scaling info
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Dec 4, 2024
1 parent 5649d44 commit 297ec90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ stats.modules = [
{
mui: stats.mui('', '', false, () => ''),
init() {
sub(APP_VIDEO_CHANGED, (payload) => (this.val = `${payload.w}x${payload.h}`))
sub(APP_VIDEO_CHANGED, ({s = 1, w, h}) => (this.val = `${w * s}x${h * s}`))
},
},
{
Expand Down

0 comments on commit 297ec90

Please sign in to comment.