提交 f84fd078 编写于 作者: E Eugene Pankov

invert scroll-zoom (fixes #184)

上级 24c59b88
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册