Git Product home page Git Product logo

Comments (7)

artursapek avatar artursapek commented on June 29, 2024

This needs to happen. Low-hanging fruit for any Windows people who want to contribute! Or I could steal my wife's laptop for an hour and do it myself.

Regardless, it's at the top of my list right now. Thanks.

from mondrian.

Fishrock123 avatar Fishrock123 commented on June 29, 2024

Should we just consider the ctrl key as a cmd key? (or vice versa?) That seems like the most sane way to patch this.

(While it would be nice to use both separately on a mac, detecting if your on a mac in the web browser is tricky business.)

from mondrian.

Fishrock123 avatar Fishrock123 commented on June 29, 2024

The only current use of the ctrl key is here.

Personally, I'm against having the ctl key do the same stuff as the cmd key on Mac, but I don't think there is a way to tell what OS the user is running & have separate Windows / Mac keybinds. :/

If its the only sane way, I'll rebase it into my keybindings refactor before it's pulled.

from mondrian.

artursapek avatar artursapek commented on June 29, 2024

There are several ways to detect if the user is on a Mac.

For example: http://www.javascripter.net/faq/operatin.htm

from mondrian.

Fishrock123 avatar Fishrock123 commented on June 29, 2024

And that link reminded me that I actually used this in one of my own projects.
facepalm

from mondrian.

Fishrock123 avatar Fishrock123 commented on June 29, 2024

@TronPaul Try this version: https://searchbeam.jit.su/s/mondrian

Edit: O.K. Just tested it again, and it.. doesn't actually work now? Investigating.
Edit2: I have no idea, this worked yesterday, the modifier codes are being set, yet ctrl-Z does not work.
MouseEvent.metaKey issues.

from mondrian.

Fishrock123 avatar Fishrock123 commented on June 29, 2024

@TronPaul Again, this time fixed: https://searchbeam.jit.su/s/mondrian

(try the hotkeys, like ctrl-z. The images are broken because my server serves static things at a different address than mondrian likes. Just ignore it)

Use http://staging.mondrian.io/ instead.

from mondrian.

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.