fixed context menu positioning when scaling is active

This commit is contained in:
zadam
2020-05-11 20:08:55 +02:00
parent b365c186a1
commit 88e8eb7e9c
4 changed files with 40 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ import DialogCommandExecutor from "./dialog_command_executor.js";
import Entrypoints from "./entrypoints.js";
import options from "./options.js";
import utils from "./utils.js";
import ZoomService from "./zoom.js";
import zoomService from "./zoom.js";
import TabManager from "./tab_manager.js";
import treeService from "./tree.js";
import Component from "../widgets/component.js";
@@ -73,7 +73,7 @@ class AppContext extends Component {
}
if (utils.isElectron()) {
this.child(new ZoomService());
this.child(zoomService);
}
this.triggerEvent('initialRenderComplete');
@@ -134,4 +134,4 @@ $(window).on('hashchange', function() {
}
});
export default appContext;
export default appContext;