forked from mia/Aegisub
Don't overwrite alpha when using the color picker screen dropper
This commit is contained in:
parent
f534205a91
commit
c28a02a34d
1 changed files with 3 additions and 1 deletions
|
@ -1058,7 +1058,9 @@ void DialogColorPicker::OnAlphaSliderChange(wxCommandEvent &) {
|
|||
}
|
||||
|
||||
void DialogColorPicker::OnRecentSelect(wxThreadEvent &evt) {
|
||||
SetColor(evt.GetPayload<agi::Color>());
|
||||
agi::Color new_color = evt.GetPayload<agi::Color>();
|
||||
new_color.a = cur_color.a;
|
||||
SetColor(new_color);
|
||||
}
|
||||
|
||||
void DialogColorPicker::OnDropperMouse(wxMouseEvent &evt) {
|
||||
|
|
Loading…
Reference in a new issue