mirror of https://github.com/odrling/Aegisub
Fix colour picker buttons in style editor by making AssColor::GetWXColor() aware that alpha has the opposite meaning in wxColour and ASS
Originally committed to SVN as r2262.
This commit is contained in:
parent
27e35e9434
commit
dfa3e548a0
|
@ -85,7 +85,7 @@ void AssColor::Parse(const wxString value) {
|
||||||
///////////////////
|
///////////////////
|
||||||
// Gets a wxColour
|
// Gets a wxColour
|
||||||
wxColour AssColor::GetWXColor() {
|
wxColour AssColor::GetWXColor() {
|
||||||
return wxColour(r,g,b,a);
|
return wxColour(r,g,b,255-a);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue