Skip to content

Commit

Permalink
Complete LiteLDev#642
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonzyt committed Aug 9, 2022
1 parent b781496 commit 1921eea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LiteLoader/Kernel/FormUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ string Slider::serialize() {
itemAdd["type"] = "slider";
itemAdd["text"] = title;

if (minValue >= maxValue)
{
if (minValue > maxValue) {
const auto t = maxValue;
maxValue = minValue;
minValue = t;
Expand Down

0 comments on commit 1921eea

Please sign in to comment.