lospec / pixel-editor

An online canvas based Pixel Art creation tool for Lospec.com

Home Page:https://Lospec.com/pixel-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mouse-wheel without the alt key still changes zoom.

zaun opened this issue · comments

Describe the bug
The zoom changes on scroll-wheel without the alt key pressed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the editor
  2. Use the mouse scroll-wheel

Expected behavior
Not to scroll

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.5
  • Browser Chrome
  • Version 106.0.5249.103

Additional context
Have a key press to zoom in and out rather than the scroll-wheel. Some mouse scroll-wheels are just too sensitive or otherwise make the scroll-wheel a bad option.

We're considering adding back the zoom tool, however I can't replicate the bug on chrome. Are you also pressing ctrl or do you have any particular key shortcuts enabled on your pc perhaps?

No, it could well be the mouse. I'm on a mac with the Magic Mouse and it's mouse wheel function is overly sensitive.

Sorry, got confused with another bug. We'll probably add back the zoom tool, which can be used by clicking. We'd also like to disable zoom on the page and enable ctrl+ / ctrl-

Allowing ctrl+ / ctrl- to zoom the editor would be best, having to click-to-zoom works as well but not as nice as keyboard controls. But as it it, the editor is basically unusable for me with my current setup. It constant changes zoom while just trying to edit.

Currently working on it in the bug-fixes banch