GithubHelp home page GithubHelp logo

Comments (7)

imagicbell avatar imagicbell commented on August 17, 2024 1

Sorry for the mess of disposing workspace. Lacking test :)
Please check this new commit.

from ublockly.

toamig avatar toamig commented on August 17, 2024

No problem at all, bugs happen quite a lot, it's perfectly understandable!
Thank you so much for ur constant support and for letting us use your work!

Just another doubt to be clarified, what is the propper way of resetting the workspace now with the new code?

I'm handling events from the WorkspaceView for when I'm transitioning in and out of Ublockly's interface. What methods should I assign to each event?

from ublockly.

imagicbell avatar imagicbell commented on August 17, 2024

Just the same as I said last time. I also add it here with a little bit new code modifications.

  1. If you need to switch scenes, which means WorkspaceView will be destroyed and re-created, you can follow the Brutal way.
  2. If you don't want to destroy the WorkspaceView object, you can just follow the second method: Reset block views and toolbox respectively.

from ublockly.

toamig avatar toamig commented on August 17, 2024

Btw do you have any idea why these tests are failing?
I don't think we changed anything related to this. Were they passing on your project?
Imgur

from ublockly.

imagicbell avatar imagicbell commented on August 17, 2024

Yes, mine is passed.
image
There must be some log to get a hint?

from ublockly.

toamig avatar toamig commented on August 17, 2024

I'm getting this for some reason
Imgur

Imgur

from ublockly.

imagicbell avatar imagicbell commented on August 17, 2024

Sorry that I couldn't figure out what is wrong.
Could you please check if you have changed class FieldAngle or class Number. Or you could debug into the code to check what is going wrong.

from ublockly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.