Skip to content

Commit

Permalink
Fix numberbox precision
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 1, 2024
1 parent 6e40d83 commit ebc0fbd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ if(QUICK_BUILD)
set(ENABLE_SFIZZ OFF)
set(ENABLE_GEM OFF)
set(ENABLE_FFMPEG OFF)
set(ENABLE_OPUS OFF)
endif()

if(("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" AND ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
Expand Down
2 changes: 1 addition & 1 deletion Source/Components/DraggableNumber.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ class DraggableNumber : public Label

String formatNumber(double value, int precision = -1)
{
auto text = String(value, precision == -1 ? 8 : precision);
auto text = String(value, precision == -1 ? 6 : precision);

if (dragMode != Integer) {
if (!text.containsChar('.'))
Expand Down

0 comments on commit ebc0fbd

Please sign in to comment.