forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ void AssColor::Parse(const wxString value) {
|
|||
///////////////////
|
||||
// Gets a wxColour
|
||||
wxColour AssColor::GetWXColor() {
|
||||
return wxColour(r,g,b,a);
|
||||
return wxColour(r,g,b,255-a);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue