mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-19 10:44:18 +01:00
fix: incorrect matrix
This commit is contained in:
@@ -151,7 +151,26 @@ export const ItemContent: React.FC<{ item: BaseItemDto }> = React.memo(
|
|||||||
{logoUrl ? (
|
{logoUrl ? (
|
||||||
<ColorMatrix
|
<ColorMatrix
|
||||||
matrix={[
|
matrix={[
|
||||||
1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, -1,
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0, // Red channel remains unchanged
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0, // Green channel remains unchanged
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0, // Blue channel remains unchanged
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
-1, // Make black (R=0, G=0, B=0) transparent
|
||||||
]}
|
]}
|
||||||
style={{
|
style={{
|
||||||
height: 130,
|
height: 130,
|
||||||
|
|||||||
Reference in New Issue
Block a user