Skip to content

Commit ca60e63

Browse files
committed
propagate dragbox cursor to coverSlip while dragging
1 parent 5cad4ff commit ca60e63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/plots/cartesian/graph_interact.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,8 @@ fx.dragElement = function(options) {
20222022
dragCover.onmouseup = onDone;
20232023
dragCover.onmouseout = onDone;
20242024

2025+
dragCover.style.cursor = window.getComputedStyle(options.element).cursor;
2026+
20252027
return Plotly.Lib.pauseEvent(e);
20262028
}
20272029

0 commit comments

Comments
 (0)