raysan5 9 лет назад
Родитель
Сommit
4c9d0f16a5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/raygui.c

+ 1 - 1
src/raygui.c

@@ -667,7 +667,7 @@ int GuiSpinner(Rectangle bounds, int value, int minValue, int maxValue)
     Vector2 mousePoint = GetMousePosition();
 
     int textWidth = MeasureText(FormatText("%i", value), style[GLOBAL_TEXT_FONTSIZE]);
-    int textHeight = style[GLOBAL_TEXT_FONTSIZE];
+    //int textHeight = style[GLOBAL_TEXT_FONTSIZE];     // Unused variable
     
     int buttonSide = 0;