+- shortcut for zooming

This commit is contained in:
Eduard Kuzmenko 2021-08-21 00:31:20 +03:00
parent 247c98e933
commit 575dcf5852
2 changed files with 3 additions and 1 deletions

View File

@ -500,6 +500,8 @@ class AppMediaViewerBase<ContentAdditionType extends string, ButtonsAdditionType
this.buttons.next.click();
} else if(e.key === 'ArrowLeft') {
this.buttons.prev.click();
} else if(this.ctrlKeyDown && (e.key === '-' || e.key === '=')) {
this.changeZoom(e.key === '=');
} else {
good = false;
}

View File

@ -16,7 +16,7 @@ export const MAIN_DOMAIN = 'web.telegram.org';
const App = {
id: 1025907,
hash: '452b0359b988148995f22ff0f4229750',
version: '0.7.1',
version: '0.7.2',
langPackVersion: '0.3.2',
langPack: 'macos',
langPackCode: 'en',