Skip to content

Commit

Permalink
removed strayed setting which fixes non colored stat levels
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed Sep 12, 2024
1 parent 4b4b166 commit 9040594
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
3 changes: 0 additions & 3 deletions ARKBreedingStats/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,6 @@
<setting name="Highlight255Level" serializeAs="String">
<value>False</value>
</setting>
<setting name="HighlightEvenOdd" serializeAs="String">
<value>False</value>
</setting>
<setting name="LastUsedCollectionFolder" serializeAs="String">
<value />
</setting>
Expand Down
2 changes: 1 addition & 1 deletion ARKBreedingStats/Pedigree/PedigreeCreature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public Creature Creature
_labels[s].Text = _creature.levelsWild[si].ToString();
if (Properties.Settings.Default.Highlight255Level && _creature.levelsWild[si] > 253) // 255 is max, 254 is the highest that allows dom leveling
_labels[s].BackColor = Utils.AdjustColorLight(_creature.levelsWild[si] == 254 ? Utils.Level254 : Utils.Level255, _creature.IsTopStat(si) ? 0.2 : 0.7);
else if (Properties.Settings.Default.HighlightEvenOdd)
else
_labels[s].BackColor = Utils.AdjustColorLight(levelColorOptions.StatOptions[si].GetLevelColor(_creature.levelsWild[si]),
_creature.IsTopStat(si) ? 0.2 : 0.7);

Expand Down
12 changes: 0 additions & 12 deletions ARKBreedingStats/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions ARKBreedingStats/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,6 @@
<Setting Name="Highlight255Level" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="HighlightEvenOdd" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="LastUsedCollectionFolder" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
Expand Down

0 comments on commit 9040594

Please sign in to comment.