Git Product home page Git Product logo

Comments (16)

SanjayVyas avatar SanjayVyas commented on August 15, 2024 6

I tried CMD on Mac and I did not notice any difference in zoom speed with pinch gesture.
CTRL-NUMPAD + and - dont work on mac as there is no separate NUMPAD.
If there could be a keyboard shortcut implemented for Mac with slow zoom.. 1 pt at a time, it would be great.

from drawio-desktop.

florian-obradovic avatar florian-obradovic commented on August 15, 2024 3

Hey All,
can we re-open this? The issue still persists and zooming via pinch gesture or option+scroll on touchpads is way too sensitive and almost unusable.
Thank you very much.
Best regards, Flo.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on August 15, 2024 3

There is a JSON config option, btw, in case that was missed:

{
  "zoomFactor": 1.05
}

from drawio-desktop.

Jargonius avatar Jargonius commented on August 15, 2024 2

I would like to see this implemented for Windows 10 machines with touchscreens. It is a really intuitive gesture that, right now, just jumps the contents of the main panel back and forth in a jittery manner.

from drawio-desktop.

alderg avatar alderg commented on August 15, 2024

Hold down the Cmd key while using the pinch gesture. As you can see, the problem is the sensitivity of the touchpad (event is handled here). We have the same problem in the webapp. Feel free to submit a PR. What might be a condition for touchpad vs. mousewheel zoom?

from drawio-desktop.

fabianschilling avatar fabianschilling commented on August 15, 2024

Hold down the Cmd key while using the pinch gesture. As you can see, the problem is the sensitivity of the touchpad (event is handled here).

Thanks, that works (modulo sensitivity, as you say).

What might be a condition for touchpad vs. mousewheel zoom?

Can you elaborate on what you mean by "condition"?

from drawio-desktop.

alderg avatar alderg commented on August 15, 2024

Condition to check if it's a touchpad pinch gesture or a real mousewheel event (didn't have time to look at the event details, but I think last time I checked it was difficult to tell them apart).

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on August 15, 2024

Pinch to zoom on trackpad works now with acceptable sensitivity.
If there is still an issue, let us know to re-open

from drawio-desktop.

florian-obradovic avatar florian-obradovic commented on August 15, 2024

Hey Team,
thx for your hard work you put into this.

Unfortunately CMD doesn't help. Zooming using CMD + scroll / "mouse wheel" (Apple Magic Mouse, which is basically a touch pad) and CMD or option key doesn't make a difference in sensitivity. Scrolling horizontally/vertically through the canvas is damn smooth. I recorded video and will attach it.

Zooming via trackpad and pinch 'n' zoom gesture is exactly the same.

Any workarounds or ideas how to fix this.

Thx a lot and best regards, Flo.

CleanShot.2021-01-13.at.17.56.53.mp4

from drawio-desktop.

jdschwam avatar jdschwam commented on August 15, 2024

Hey everyone, great program.

On a Mac the zoom is still too sensitive for my taste. It just seems out of sync compared to normal movement speed. Can there be an option set to slow it down, or a faceted zoom with a slight delay?

Just my 2 cents. Thx

from drawio-desktop.

davidjgraph avatar davidjgraph commented on August 15, 2024

We're unable to adjust this further. As mentioned, we cannot detect the difference between mouse wheel and trackpad. We'll re-open if someone provides the means to do this in this thread.

from drawio-desktop.

mrjovanov avatar mrjovanov commented on August 15, 2024

Could we simply add ability to tune sensitivity?
Hence you don't need to "detect" mouse wheel or trackpad, but user can simply adjust the sensitivity according to the needs?

Also, I think pinch zoom function should be non-linear or should include acceleration factor. I wanted to offer help, but then I realized I could simply clone the project and try out the suggestion myself ;)

from drawio-desktop.

flotpg avatar flotpg commented on August 15, 2024

I just wanted to suggest the same.
Setting a sensitivity level would solve the issue or some techniques which smooth line based scrolling.
The issue is not only related to pinch gestures. It’s also almost unusable when scrolling with magic mouse, Logitech MX Mastere 3, etc.

it only works ok with cheap mice with legacy line based scrolling

from drawio-desktop.

davidjgraph avatar davidjgraph commented on August 15, 2024

Yup, makes sense - jgraph/drawio#2469

from drawio-desktop.

GoodDonkey avatar GoodDonkey commented on August 15, 2024

on App, Extras - Configuration, put that json config works. smooth like baby's ass

from drawio-desktop.

ckjoris avatar ckjoris commented on August 15, 2024

just tried it on linux (with gnome wayland).
Touchpad pinch to zoom works fine,
but with touchscreen - pinch is just doing rectangular selection.

from drawio-desktop.

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.