Skip to content

Commit

Permalink
note on grabbing cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
zakandrewking committed Jul 15, 2019
1 parent d54e9b9 commit 3173ecd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ZoomContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ export default class ZoomContainer {
}

if (this._panDragOn) {
// turn on the hand
// turn on the hand. Performance note: In previous versions of Escher, we
// enabled the "grabbing" cursor during pan events. However, this causes a
// browser layout and costs about 400ms, so we turned it off.
this.zoomedSel.style('cursor', 'grab')
} else {
// turn off the hand
Expand Down

0 comments on commit 3173ecd

Please sign in to comment.