richrobber2 / canvas-zoom

zoom and pan functionality
350 stars 23 forks source link

Change the hot keys more consistently #25

Closed pvp-by closed 1 year ago

pvp-by commented 1 year ago

T = Tranparent (now it C) ctrl/shift + T (now it V) Q = Quick color С = Color

daswer123 commented 1 year ago

Hi @pvp-by, you can customize any hotkeys you want via the context menu. Right-click on the image area.

https://user-images.githubusercontent.com/22278673/231013880-8d6e7ee4-07bb-4008-bdb8-dbf58c17374c.mp4

pvp-by commented 1 year ago

@daswer123 excellent, then it is probably worth adding this information to the readme

daswer123 commented 1 year ago

@pvp-by already image

pvp-by commented 1 year ago

my bad, Maybe you could save the settings to a file so that you can transfer them. but otherwise excellent work

daswer123 commented 1 year ago

Good idea, I think I will make it possible to edit hotkeys in a separate file so that it can be transferred to another person

pvp-by commented 1 year ago

Thanks for the work done and future updates!

daswer123 commented 1 year ago

@pvp-by Done. Now you can customize the hotkeys in the customHotkeys.js file, and then load them in the context menu. You can pass this file to anyone and they will be able to use your hotkeys settings.