Skip to content

Commit

Permalink
Update canvas_events.mixin.js (#3953)
Browse files Browse the repository at this point in the history
Allow to display custom cursor also for unselectable items
  • Loading branch information
andrea11 authored and asturur committed Jun 7, 2017
1 parent 044770c commit f4a66af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/canvas_events.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
* @param {Object} target Object that the mouse is hovering, if so.
*/
_setCursorFromEvent: function (e, target) {
if (!target || !target.selectable) {
if (!target) {
this.setCursor(this.defaultCursor);
return false;
}
Expand Down

0 comments on commit f4a66af

Please sign in to comment.