mirror of https://github.com/node-red/node-red.git
Add grabbing cursor for middle-click pan mode
parent
775d6181c9
commit
f22915e1b9
|
|
@ -1603,6 +1603,8 @@ RED.view = (function() {
|
|||
mouse_mode = RED.state.PANNING;
|
||||
mouse_position = [d3.event.pageX,d3.event.pageY]
|
||||
scroll_position = [chart.scrollLeft(),chart.scrollTop()];
|
||||
// Change cursor to grabbing while actively panning
|
||||
outer.style('cursor', 'grabbing');
|
||||
return;
|
||||
}
|
||||
if (d3.event.button === 2) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue