mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Code re-format
This commit is contained in:
@@ -338,11 +338,11 @@ namespace GHelper
|
|||||||
|
|
||||||
if (mouse.CanSetPollingRate())
|
if (mouse.CanSetPollingRate())
|
||||||
{
|
{
|
||||||
foreach(PollingRate pr in mouse.SupportedPollingrates())
|
foreach (PollingRate pr in mouse.SupportedPollingrates())
|
||||||
{
|
{
|
||||||
comboBoxPollingRate.Items.Add(mouse.PollingRateDisplayString(pr));
|
comboBoxPollingRate.Items.Add(mouse.PollingRateDisplayString(pr));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -439,7 +439,7 @@ namespace GHelper
|
|||||||
if (mouse.CanSetPollingRate())
|
if (mouse.CanSetPollingRate())
|
||||||
{
|
{
|
||||||
int idx = mouse.PollingRateIndex(mouse.PollingRate);
|
int idx = mouse.PollingRateIndex(mouse.PollingRate);
|
||||||
if(idx == -1)
|
if (idx == -1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -526,7 +526,6 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
checkBoxRandomColor.Checked = ls.RandomColor;
|
checkBoxRandomColor.Checked = ls.RandomColor;
|
||||||
buttonLightingColor.Visible = !ls.RandomColor;
|
buttonLightingColor.Visible = !ls.RandomColor;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ls.RandomColor && mouse.SupportsRandomColor(ls.LightingMode))
|
if (ls.RandomColor && mouse.SupportsRandomColor(ls.LightingMode))
|
||||||
|
|||||||
Reference in New Issue
Block a user