fix: added condition of resizeScroll
@@ -262,6 +262,7 @@ export class ChromosomeColumnRenderer {
this.canvasSize.width = width;
this.scrollBar.clear();
this.scrollContainer.removeAllListeners();
+ if (this.canvasSize.width < this.actualDrawingWidth) {
const scrollParams = {
start: 0,
currentPosition: 0,
@@ -270,3 +271,4 @@ export class ChromosomeColumnRenderer {
this.createScrollBar(scrollParams);
}
}
+}
