RedSparr0w / Pokeclicker-desktop

48 stars 18 forks source link

[SUGGESTION] Client-only Zoom buttons #4

Open dragonkin550 opened 2 years ago

dragonkin550 commented 2 years ago

Current Behavior

On some screens, the text on the client is hard to read. Zooming in allows this to be remedied. However, on the client, zooming in with ctrl + '+' using the keypad + key doesn't work. It does work if I use Ctrl + shift + '=' on my US keyboard - the shift + = giving the '+' key though. Improved Behavior

Buttons in the Start menu to zoom in, zoom out, and reset zoom to default 100% would be an improvement.

Reason for change

Most people don't realize that the client is basically Chrome encapsulated, and most people who do realize that would try ctrl + '+' (using the keypad + key) or ctrl + '=' without the shift, as that works on Chrome to zoom in. If that doesn't work, they probably give up. Having the buttons in the start menu would show it's possible to zoom, and would let anyone confused by the key combination not working just press the zoom in or zoom out buttons instead.

Detailed Description

Add a Zoom menu item to the Start Menu of the Client, to allow for easy zooming in and out for the less technically inclined. Could be done by using the following javascript, where 150% would be changed by the code to whatever desired zoom level.

document.body.style.zoom = "150%";

Screenshots:

image

Dessillu commented 1 year ago

Same issue here and I'm indeed about to give up. I can't reset zoom or zoom out. I can only zoom in with "Crtl" + "Shift" + "=" and I'm now at something like +250%. At this state, client became unplayable !

Please, can you add an option to fix this in StartMenu ==> Settings

TirOFlanc commented 9 months ago

Hi, It would be nice to have this option in the game settings. Thank you