sashimi-webapp/src/logic/inputHandler/DocumentNavigator/index.js
Function addDomStyling
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DocumentNavigator.prototype.addDomStyling = function addDomStyling() {
// Reset parent height to force DOM relayout
// [1] Initialise layout properties
const containerReference = this.el.container;
const containerRefStyle = domUtils.getComputedStyle(containerReference);
Function addEventListeners
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DocumentNavigator.prototype.addEventListeners = function addEventListeners() {
this.eventInstance = {
pointers: {},
numPointers: 0,
state: {