We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Unbinding Puzzle not working?

Home Forums General Questions Unbinding Puzzle not working?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54449
    Crunch
    Customer

    Ok, pulling my hair out here. What am I doing wrong?
    Here is the demo.

    https://v3d.net/9o5

    First button creates custom divs (annotations) , second button binds them objects. The third is suppose to unbind them. No joy.. If you run it 3 times, it finally gets rid of all bindings.. but that’s not how its suppose to work. Bug or user error?

    I’ve attached the code and a zip of verge app files
    Help please, thanks!

    Attachments:
    You must be logged in to view attached files.
    #54454
    kdv
    Participant

    but that’s not how its suppose to work

    And how that’s supposed to work? Is that supposed to jump back to the initial position or you just want to unbind them all at the same time?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #54456

    Hi,
    Yes, sorry, unfortunately this is a bug, it will be fixed in next pre-release.

    Verge3D Developer

    #54457
    kdv
    Participant

    Bug or user error?

    Find appInstance.renderCallbacks.splice(i, 1); in puzzles.min.js and add _pGlob.bindHTMLCallbackInfo.splice(i, 1); above. Save.

    The result should look like this

    _pGlob.bindHTMLCallbackInfo.splice(i, 1);
    appInstance.renderCallbacks.splice(i, 1);

    Then open the app’s puzzles and save them to update visual_logic.js.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #54474
    Crunch
    Customer

    THANK YOU kdv!! Everything is now working properly!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.