mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Make halsimgui::DrawLEDs() values parameter const (#2088)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
namespace halsimgui {
|
||||
|
||||
void DrawLEDs(int* values, int numValues, int cols, const ImU32* colors,
|
||||
void DrawLEDs(const int* values, int numValues, int cols, const ImU32* colors,
|
||||
float size, float spacing) {
|
||||
if (numValues == 0) return;
|
||||
if (size == 0) size = ImGui::GetFontSize() / 2.0;
|
||||
|
||||
Reference in New Issue
Block a user