Fix ineffectual assignments
This commit is contained in:
parent
17941ec954
commit
6bcfa21235
3 changed files with 6 additions and 9 deletions
|
@ -368,6 +368,12 @@ var propertyName = []string{
|
|||
"TEXTBOX_TEXT_FONTSIZE",
|
||||
}
|
||||
|
||||
// For spinner
|
||||
var (
|
||||
framesCounter int
|
||||
valueSpeed bool
|
||||
)
|
||||
|
||||
// BackgroundColor - Get background color
|
||||
func BackgroundColor() raylib.Color {
|
||||
return raylib.GetColor(int32(style[GlobalBackgroundColor]))
|
||||
|
@ -855,9 +861,6 @@ func Spinner(bounds raylib.Rectangle, value, minValue, maxValue int) int {
|
|||
|
||||
buttonSide := 0
|
||||
|
||||
var framesCounter int
|
||||
var valueSpeed bool
|
||||
|
||||
// Update control
|
||||
if raylib.CheckCollisionPointRec(mousePoint, leftButtonBound) || raylib.CheckCollisionPointRec(mousePoint, rightButtonBound) || raylib.CheckCollisionPointRec(mousePoint, labelBoxBound) {
|
||||
if raylib.IsKeyDown(raylib.KeyLeft) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue