+- shortcut for zooming
This commit is contained in:
parent
247c98e933
commit
575dcf5852
@ -500,6 +500,8 @@ class AppMediaViewerBase<ContentAdditionType extends string, ButtonsAdditionType
|
|||||||
this.buttons.next.click();
|
this.buttons.next.click();
|
||||||
} else if(e.key === 'ArrowLeft') {
|
} else if(e.key === 'ArrowLeft') {
|
||||||
this.buttons.prev.click();
|
this.buttons.prev.click();
|
||||||
|
} else if(this.ctrlKeyDown && (e.key === '-' || e.key === '=')) {
|
||||||
|
this.changeZoom(e.key === '=');
|
||||||
} else {
|
} else {
|
||||||
good = false;
|
good = false;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ export const MAIN_DOMAIN = 'web.telegram.org';
|
|||||||
const App = {
|
const App = {
|
||||||
id: 1025907,
|
id: 1025907,
|
||||||
hash: '452b0359b988148995f22ff0f4229750',
|
hash: '452b0359b988148995f22ff0f4229750',
|
||||||
version: '0.7.1',
|
version: '0.7.2',
|
||||||
langPackVersion: '0.3.2',
|
langPackVersion: '0.3.2',
|
||||||
langPack: 'macos',
|
langPack: 'macos',
|
||||||
langPackCode: 'en',
|
langPackCode: 'en',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user