Code Monkey home page Code Monkey logo

Comments (10)

Diastro avatar Diastro commented on July 29, 2024

Its because your "=" is the same key as "+". Try shift and "=". It'll work.

from atc.

asherdavidson avatar asherdavidson commented on July 29, 2024

Yup, that works. It's not exactly intuitive, though. Thanks.

from atc.

zlsa avatar zlsa commented on July 29, 2024

I plan to add mousewheel zooming as well.

from atc.

asherdavidson avatar asherdavidson commented on July 29, 2024

That would be great. Could you add mouse panning as well?

from atc.

zlsa avatar zlsa commented on July 29, 2024

Hm, I could, but then that brings in a whole host of issues (example: aircraft spawn 100km away; if you pan beyond that you'll see aircraft popping in. Is that good or bad?)

from atc.

asherdavidson avatar asherdavidson commented on July 29, 2024

I only want it because there some fix points that are outside my screen and I want to be able to see them without zooming out (because then everything is too small). If you make the visible map a fixed size and the spawn area right outside that then you won't ever see aircraft spawn.

from atc.

xenocide0 avatar xenocide0 commented on July 29, 2024

Mouse panning would be awesome, probably just need to add some kind of border to show where your scope ends. Maybe use right-mouse - drag?
atc

from atc.

Diastro avatar Diastro commented on July 29, 2024

Feedback before closing this?

I'll get to moving labels soon...

from atc.

zlsa avatar zlsa commented on July 29, 2024

Seems to work perfectly.

Side note: I used the prop.<module>.<variable> pattern so that it's easy to figure out what file the variable is managed in; also, it's much harder to accidentally overwrite variables in other modules then.

from atc.

Diastro avatar Diastro commented on July 29, 2024

Good noted. Thanks!

from atc.

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.