Betterttv: Preserve srcset / 2x subscriber loyalty badges on hidpi screens

Created on 28 Oct 2016  路  1Comment  路  Source: night/betterttv

Howdy.

Now that loyalty badges are a thing, it would be great if BTTV preserved or implemented the higher resolution icons on hidpi screens. Currently when BTTV creates the subscriber_badges <style> element in helpers.js it just uses the 1x version of the image. Can a media query be added to use the other images as well?

bug chat

Most helpful comment

That's my bad. I was lazy when I implemented the badge api and only included 1x.
I'll add 2x and 3x support.

>All comments

That's my bad. I was lazy when I implemented the badge api and only included 1x.
I'll add 2x and 3x support.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Fuglypump picture Fuglypump  路  3Comments

nighthawkj2 picture nighthawkj2  路  6Comments

jt415gz picture jt415gz  路  3Comments

gempir picture gempir  路  4Comments

UnholyRapido picture UnholyRapido  路  3Comments