1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 11:33:35 +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)
if (event.type === 'mousewheel') {
if (event.ctrlKey || event.metaKey) {
if (event.wheelDeltaY < 0) {
if (event.wheelDeltaY > 0) {
this.zoomIn()
} else {
this.zoomOut()