mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Preserve alpha when resampling style colors
This commit is contained in:
parent
5830fc4225
commit
deaf833605
@ -89,7 +89,7 @@ public:
|
||||
|
||||
Color rgb_to_rgb(Color c) const {
|
||||
auto arr = rgb_to_rgb(std::array<uint8_t, 3>{{c.r, c.g, c.b}});
|
||||
return Color{arr[0], arr[1], arr[2]};
|
||||
return Color{arr[0], arr[1], arr[2], c.a};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user