Skip to content

Commit

Permalink
Shorten Video badge: "1920x1080" -> "1080p"
Browse files Browse the repository at this point in the history
  • Loading branch information
redphx committed Aug 2, 2023
1 parent c1ac6e7 commit 8d8ccfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion better-xcloud.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class StreamBadges {
// Video
let video = '';
if (StreamBadges.resolution) {
video = `${StreamBadges.resolution.width}x${StreamBadges.resolution.height}`;
video = `${StreamBadges.resolution.height}p`;
}

if (StreamBadges.video) {
Expand Down

0 comments on commit 8d8ccfd

Please sign in to comment.