browser: fix draggingSomething is private

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Icc3c0d09c0ed3318dad375e3cf2d4da1e03c6ff7
This commit is contained in:
Dennis Francis 2023-01-17 12:56:13 +05:30 committed by Dennis Francis
parent 0540e0564a
commit 3db5fd3921

View file

@ -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 && !(<any>window).mode.isDesktop())
if (!this.containerObject.isDraggingSomething() && !(<any>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 && !(<any>window).mode.isDesktop())
if (!this.containerObject.isDraggingSomething() && !(<any>window).mode.isDesktop())
this.containerObject.requestReDraw();
}
}