diff --git a/flamechart-view.tsx b/flamechart-view.tsx index 9ff57b1..c76b91a 100644 --- a/flamechart-view.tsx +++ b/flamechart-view.tsx @@ -432,6 +432,8 @@ export class FlamechartPanZoomView extends ReloadableComponent { + document.body.style.cursor = 'grabbing' + document.body.style.cursor = '-webkit-grabbing' this.lastDragPos = new Vec2(ev.offsetX, ev.offsetY) } @@ -507,6 +509,7 @@ export class FlamechartPanZoomView extends ReloadableComponent { + document.body.style.cursor = 'default' this.lastDragPos = null }