Closed Wieku closed 4 months ago
Fixes #255
Basically copied code from inkyblackness bindings, I don't know if that's okay.
Before:
... 2024/02/24 01:38:44 DatabaseManager: Loaded 7532 total. 2024/02/24 01:38:44 DatabaseManager: 1030664 Culprate - Yin/Culprate - Yin (Lehepuhur) [test].osu doesn't have enough hitobjects 2024/02/24 01:38:44 DatabaseManager: Star rating updated! ... File: C:/Users/Wieku/projects/danser/cimgui-go/cimgui/imgui/imgui.cpp, Line 9817 Process finished with the exit code 1
After:
... 2024/02/24 01:38:44 DatabaseManager: Loaded 7532 total. 2024/02/24 01:38:44 DatabaseManager: 1030664 Culprate - Yin/Culprate - Yin (Lehepuhur) [test].osu doesn't have enough hitobjects 2024/02/24 01:38:44 DatabaseManager: Star rating updated! ... 2024/02/24 01:38:45 panic: Assertion failed! File: C:/Users/Wieku/projects/danser/cimgui-go/cimgui/imgui/imgui.cpp, Line 9817 Expression: 0 && "Code uses SetCursorPos()/SetCursorScreenPos() to extend window/parent boundaries. Please submit an item e.g. Dummy() to validate extent." 2024/02/24 01:38:45 goroutine 1 [running, locked to thread]: 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go.glob..func1({0xc000140090?, 0xc00004e000?}, {0xc00077e080?, 0xc0009c7428?}, 0x7ff6039487bc?) 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go@v0.0.0-20240221093345-a40a0401f3d2/assert.go:28 +0x65 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go.goImguiAssertHandler(0x0?, 0xc0009c7480?, 0x3949031?) 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go@v0.0.0-20240221093345-a40a0401f3d2/assert.go:45 +0x67 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go._Cfunc_igTableNextColumn() 2024/02/24 01:38:45 _cgo_gotypes.go:31526 +0x4e 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go.TableNextColumn(...) 2024/02/24 01:38:45 github.com/AllenDang/cimgui-go@v0.0.0-20240221093345-a40a0401f3d2/cimgui_funcs.go:10197 2024/02/24 01:38:45 github.com/wieku/danser-go/launcher.sliderResetBase({0x7ff604859ac5, 0x5}, 0xc0009c7780, 0xc0009c7770) 2024/02/24 01:38:45 github.com/wieku/danser-go/launcher/widgets.go:201 +0x17d ... the rest of the stacktrace Process finished with the exit code 1
Sorry for the force push, had to rebase because of recent imgui update commits.
Now waiting for https://github.com/Wieku/cimgui-go/actions/runs/8027186902
Fixes #255
Basically copied code from inkyblackness bindings, I don't know if that's okay.
Before:
After: