FabricJS Selectable
Selectable:false should not change the cursor
HTML
<script src="https://rawgithub.com/kangax/fabric.js/master/dist/fabric.js"></script>
<canvas id="c" width="600" height="600"></canvas>
CSS
canvas {
border: 1px solid #999;
}
JavaScript
/**
* fabric.js template for bug reports
*
* Please update the name of the jsfiddle (see Fiddle Options).
* This templates uses latest dev verison of fabric.js (https://rawgithub.com/kangax/fabric.js/master/dist/fabric.js).
*/
// initialize fabric canvas and assign to global windows object for debug
var canvas = window._canvas = new fabric.Canvas('c'),
shape = new fabric.Rect({
left: 100,
top: 100,
width: 100,
height: 100,
fill: "red",
selectable: false
});
canvas.add(shape);
// ADD YOUR CODE HERE