mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Update some color picker options toupdate lightbar with preview
This commit is contained in:
parent
19854a00cf
commit
83628f8849
@ -1379,6 +1379,7 @@ namespace DS4Windows
|
|||||||
advColorDialog.OnUpdateColor += tempDel;
|
advColorDialog.OnUpdateColor += tempDel;
|
||||||
advColorDialog.Color = Color.FromArgb(tBRedBar.Value, tBGreenBar.Value, tBBlueBar.Value);
|
advColorDialog.Color = Color.FromArgb(tBRedBar.Value, tBGreenBar.Value, tBBlueBar.Value);
|
||||||
advColorDialog_OnUpdateColor(main, e);
|
advColorDialog_OnUpdateColor(main, e);
|
||||||
|
advColorDialog.FullOpen = true;
|
||||||
if (advColorDialog.ShowDialog() == DialogResult.OK)
|
if (advColorDialog.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
main = advColorDialog.Color;
|
main = advColorDialog.Color;
|
||||||
@ -2556,7 +2557,9 @@ namespace DS4Windows
|
|||||||
else
|
else
|
||||||
advColorDialog.Color = Color.Black;
|
advColorDialog.Color = Color.Black;
|
||||||
|
|
||||||
|
advColorDialog.FullOpen = true;
|
||||||
advColorDialog_OnUpdateColor(lbPercentFlashBar.ForeColor, e);
|
advColorDialog_OnUpdateColor(lbPercentFlashBar.ForeColor, e);
|
||||||
|
advColorDialog.OnUpdateColor += advColorDialog_OnUpdateColor;
|
||||||
if (advColorDialog.ShowDialog() == DialogResult.OK)
|
if (advColorDialog.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (advColorDialog.Color.GetBrightness() > 0)
|
if (advColorDialog.Color.GetBrightness() > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user