1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-26 12:03:31 +03:00

invert scroll-zoom (fixes #184)

This commit is contained in:
Eugene Pankov 2017-08-26 20:02:15 +02:00
parent 24c59b88ca
commit f84fd07857

View File

@ -182,7 +182,7 @@ export class TerminalTabComponent extends BaseTabComponent {
this.mouseEvent$.next(event) this.mouseEvent$.next(event)
if (event.type === 'mousewheel') { if (event.type === 'mousewheel') {
if (event.ctrlKey || event.metaKey) { if (event.ctrlKey || event.metaKey) {
if (event.wheelDeltaY < 0) { if (event.wheelDeltaY > 0) {
this.zoomIn() this.zoomIn()
} else { } else {
this.zoomOut() this.zoomOut()