Overlay polna barva kanala brez gradienta - identicna gumbu
This commit is contained in:
parent
3b1dff68c0
commit
1ccf183e9c
@ -160,9 +160,8 @@ function showSelectChannelBox() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function channelOverlayBg(color) {
|
function channelOverlayBg(color) {
|
||||||
// Fully opaque so the player underneath never shows through while loading.
|
// Exactly the channel colour (same value the sidebar button uses), flat fill.
|
||||||
// A subtle radial lightening keeps it from looking like a flat block.
|
return color;
|
||||||
return `radial-gradient(circle at 50% 45%, ${color} 0%, ${color} 60%, ${color} 100%)`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function showVideoPlayer(ch) {
|
function showVideoPlayer(ch) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user