Comments (7)
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.
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.
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.
There are several ways to detect if the user is on a Mac.
For example: http://www.javascripter.net/faq/operatin.htm
from mondrian.
And that link reminded me that I actually used this in one of my own projects.
facepalm
from mondrian.
@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.
@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)
- Create application manifest HOT 30
- Update to latest jQuery 2.x or Zepto (or drop it completely) HOT 6
- Better smoothing of crayon points. HOT 5
- Disable Context Menu
- Color picker should constrain colors to the visible window HOT 5
- Needs a way to restrict angles HOT 1
- Show tooltips when hovering the tool icons HOT 6
- 'Ctrl+Z' should undo the changes HOT 1
- Speed up Coffeescript compilation HOT 1
- Numerical keypad (external apple keyboard) does not allow me to input values HOT 3
- Drop dependence on jQuery? HOT 6
- snap to grid HOT 2
- SVG-edit HOT 5
- Cannot build styles. HOT 4
- App cache development issues. HOT 8
- Master build.js init error. HOT 5
- SVG File Import crashes browser HOT 4
- Is There a Pre-Built Package available, yet? HOT 3
- Support Google Fonts
- "Class BuildShell could not be loaded" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mondrian.