From 3db5fd3921bc290c6945524976fbdcfe68edf9e0 Mon Sep 17 00:00:00 2001 From: Dennis Francis Date: Tue, 17 Jan 2023 12:56:13 +0530 Subject: [PATCH] browser: fix draggingSomething is private Signed-off-by: Dennis Francis Change-Id: Icc3c0d09c0ed3318dad375e3cf2d4da1e03c6ff7 --- browser/src/layer/tile/ScrollSection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/src/layer/tile/ScrollSection.ts b/browser/src/layer/tile/ScrollSection.ts index 8e9d1baa4..d23f59c55 100644 --- a/browser/src/layer/tile/ScrollSection.ts +++ b/browser/src/layer/tile/ScrollSection.ts @@ -564,7 +564,7 @@ export class ScrollSection extends CanvasSectionObject { this.sectionProperties.drawVerticalScrollBar = true; this.sectionProperties.mouseIsOnVerticalScrollBar = true; this.sectionProperties.mapPane.style.cursor = 'pointer'; - if (!this.containerObject.draggingSomething && !(window).mode.isDesktop()) + if (!this.containerObject.isDraggingSomething() && !(window).mode.isDesktop()) this.containerObject.requestReDraw(); } } @@ -594,7 +594,7 @@ export class ScrollSection extends CanvasSectionObject { this.sectionProperties.drawHorizontalScrollBar = true; this.sectionProperties.mouseIsOnHorizontalScrollBar = true; this.sectionProperties.mapPane.style.cursor = 'pointer'; - if (!this.containerObject.draggingSomething && !(window).mode.isDesktop()) + if (!this.containerObject.isDraggingSomething() && !(window).mode.isDesktop()) this.containerObject.requestReDraw(); } }