Merge pull request #330 from Fluffy-Bean/master
Fix Grid mouseCell not updaing value
This commit is contained in:
commit
6c3c38896e
1 changed files with 2 additions and 0 deletions
|
@ -621,6 +621,8 @@ func Grid(bounds rl.Rectangle, text string, spacing float32, subdivs int32, mous
|
|||
cmouseCell.x = C.float(mouseCell.X)
|
||||
cmouseCell.y = C.float(mouseCell.Y)
|
||||
res := C.GuiGrid(cbounds, ctext, cspacing, csubdivs, &cmouseCell)
|
||||
mouseCell.X = float32(cmouseCell.x)
|
||||
mouseCell.Y = float32(cmouseCell.y)
|
||||
return int32(res)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue