Merge pull request #7442 from OmrSi/add-alpha-for-mpv

Allow choosing alpha for MPV outline and shadow
This commit is contained in:
Nikolaj Olsson 2023-09-25 06:44:15 +02:00 committed by GitHub
commit 0863ddb217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3775,7 +3775,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
private void buttonMpvOutlineColor_Click(object sender, EventArgs e) private void buttonMpvOutlineColor_Click(object sender, EventArgs e)
{ {
using (var colorChooser = new ColorChooser { Color = panelMpvOutlineColor.BackColor, ShowAlpha = false }) using (var colorChooser = new ColorChooser { Color = panelMpvOutlineColor.BackColor })
{ {
if (colorChooser.ShowDialog() == DialogResult.OK) if (colorChooser.ShowDialog() == DialogResult.OK)
{ {
@ -3786,7 +3786,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
private void buttonMpvBackColor_Click(object sender, EventArgs e) private void buttonMpvBackColor_Click(object sender, EventArgs e)
{ {
using (var colorChooser = new ColorChooser { Color = panelMpvBackColor.BackColor, ShowAlpha = false }) using (var colorChooser = new ColorChooser { Color = panelMpvBackColor.BackColor })
{ {
if (colorChooser.ShowDialog() == DialogResult.OK) if (colorChooser.ShowDialog() == DialogResult.OK)
{ {