Skip to content

Commit

Permalink
Fix floatbox number display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 19, 2024
1 parent 8011c30 commit 93a4608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Objects/FloatAtomObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class FloatAtomObject final : public ObjectBase {
input.setMinimum(::getValue<float>(min));
input.setMaximum(::getValue<float>(max));

input.setText(input.formatNumber(value), dontSendNotification);
input.setValue(value, dontSendNotification);

atomHelper.update();
}
Expand Down Expand Up @@ -295,7 +295,7 @@ class FloatAtomObject final : public ObjectBase {
} else {
value = atoms[0].getFloat();
}
input.setText(input.formatNumber(value), dontSendNotification);
input.setValue(value, dontSendNotification);
break;
}
case hash("send"): {
Expand Down

0 comments on commit 93a4608

Please sign in to comment.