Browse Source

+- shortcut for zooming

master
Eduard Kuzmenko 3 years ago
parent
commit
575dcf5852
  1. 2
      src/components/appMediaViewer.ts
  2. 2
      src/config/app.ts

2
src/components/appMediaViewer.ts

@ -500,6 +500,8 @@ class AppMediaViewerBase<ContentAdditionType extends string, ButtonsAdditionType @@ -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;
}

2
src/config/app.ts

@ -16,7 +16,7 @@ export const MAIN_DOMAIN = 'web.telegram.org'; @@ -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',

Loading…
Cancel
Save