zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.25k stars 233 forks source link

BUG: CTRL + mousewheel for zoom not working on mobile #1933

Open NuclearGandhi opened 3 months ago

NuclearGandhi commented 3 months ago

Your environment

    Obsidian version: v1.6.7
    Installer version: v1.4.16
    Operating system: Windows 10 Pro 10.0.22631
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Base theme: adapt to system
    Community theme: none
    Snippets enabled: 1
    Restricted mode: off
    Plugins installed: 12
    Plugins enabled: 10
        1: Latex Suite v1.9.4
        2: Excalidraw v2.3.0
        3: Quick Switcher++ v4.4.0
        4: Templater v2.4.1
        5: Pandoc Plugin v0.4.1
        6: Better Export PDF v1.9.1
        7: Hot Reload v0.1.11
        8: Latex Environments v0.4.3
        9: Latex OCR v0.7.3
        10: Zotero Integration v3.1.8

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
    Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the bug I love the zoom experience on desktop, but I'm having problems imitating it in my tablet. On my desktop, CTRL + mousewheel works great for zoom, but when I do exactly the same on my synced vault on Obsidian mobile (tablet), It just doesn't work. Other keyboard shortcuts work great, like resizing, moving or snapping objects. Just the CTRL + mousewheel doesn't.

To Reproduce Steps to reproduce the behavior:

  1. Go to any excalidraw drawing on a tablet (using Obsidian mobile).
  2. Try to zoom using CTRL + mousewheel.

Expected behavior When pressing ctrl on the keyboard, and scrolling with the mousewheel, I expect the canvas to zoom in and out.

Screenshots Yes, I do have CTRL + zoom in settings: image

Additional context Using a Bluetooth K380 Logitech keyboard, on a Samsung S6 LTE.