-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AcceptDragDropPayload can't be checked for nil #231
Comments
I can fix it in #229 but I have a problem there so idk when will it get to master... |
gucio321
added a commit
to gucio321/cimgui-go
that referenced
this issue
Nov 30, 2023
gucio321
added a commit
to gucio321/cimgui-go
that referenced
this issue
Nov 30, 2023
Confirmed as working! 🎉 |
hreat to hear! |
Yeah, that didn't work before for me anyway, so my local hack was just to keep drag data in a global variable 😄 |
now should work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AcceptDragDropPayload
will return a "nil" Payload if the currently dragged item is not of the expected type. There's currently no way to check this.Either
AcceptDragDropPayload
should return a nil object if the payload is nil, or thePayload
type should have a way to check for nilI.e. from the client code:
OR
The text was updated successfully, but these errors were encountered: