example:button: remove replace

This commit is contained in:
Konstantin8105 2022-11-25 11:48:34 +03:00
parent 0a50d1fd06
commit ded0c796c3
2 changed files with 2 additions and 6 deletions

View file

@ -3,9 +3,6 @@ module example
go 1.19
require (
github.com/gen2brain/raylib-go/raygui v0.0.0-20221122151443-e8a384ed1346
github.com/gen2brain/raylib-go/raylib v0.0.0-20221122155035-fe6d2c0ed32a
github.com/gen2brain/raylib-go/raygui v0.0.0-20221117130019-ce3c8e83dd6d
github.com/gen2brain/raylib-go/raylib v0.0.0-20221117130019-ce3c8e83dd6d
)
replace github.com/gen2brain/raylib-go/raylib => ../../../raylib
replace github.com/gen2brain/raylib-go/raygui => ../../../raygui3_5

View file

@ -1099,7 +1099,6 @@ func IconText(iconId int32, text string) string {
// Text Input Box control, ask for text
func TextInputBox(bounds rl.Rectangle, title, message, buttons string, text *string, textMaxSize int32, secretViewActive *int32) int32 {
var cbounds C.struct_Rectangle
cbounds.x = C.float(bounds.X)
cbounds.y = C.float(bounds.Y)