statelyai / xstate-tools

Public monorepo for XState tooling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In the VSCode extension, Ctrl-WheelDown zooms out to 10%

quassnoi opened this issue · comments

Steps to reproduce

  • In VSCode, create a *.js or a *.ts file with a machine
  • Click on Open Visual Editor above createMachine
  • Zoom in (using buttons or Ctrl-WheelUp) to 160%. Note that every wheel tick zooms in twofold.
  • Try to zoom out using Ctrl-WheelDown, turning the wheel one tick down.

Expected

One wheel tick zooms out to 80%
Every next wheel tick zooms in twofold (40%, 20%, 10% etc.)

Actual

One wheel tick zooms out straight to 10% and stays this way

Versions

Extension
statelyai.stately-vscode 1.13.0
VSCode
Версия: 1.76.0 (user setup)
Фиксация: 92da9481c0904c6adfe372c12da3b7748d74bdcb
Дата: 2023-03-01T10:22:44.506Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19045
Изолированные: Yes

@mattpocock @Andarist just making sure it wasn't missed.

It's more of a nuisance but a really nasty one, especially for the larger machines.

Thank you!