|
|
@@ -267,9 +267,9 @@ void ModuleWidget::draw(const DrawArgs& args) { |
|
|
|
float microseconds = meterBuffer[meterIndex] * 1e6f; |
|
|
|
std::string meterText; |
|
|
|
if (box.size.x >= RACK_GRID_WIDTH * 9) |
|
|
|
meterText = string::f("%.2f μs/sample %.1f%%", microseconds, percent); |
|
|
|
meterText = string::f("%.2f μs/sample %.1f%%", microseconds, percent); |
|
|
|
else if (box.size.x >= RACK_GRID_WIDTH * 6) |
|
|
|
meterText = string::f("%.2f μs %.1f%%", microseconds, percent); |
|
|
|
meterText = string::f("%.2f μs %.1f%%", microseconds, percent); |
|
|
|
else |
|
|
|
meterText = string::f("%.1f%%", percent); |
|
|
|
|
|
|
|