How to select covered objects via mouse in fabricJS?
问题 I'm trying to develop a way to select objects that are layered below and (totally) covered by other objects. One idea is to select the top object and then via doubleclick walk downwards through the layers. This is what I got at the moment: var canvas = new fabric.Canvas("c"); fabric.util.addListener(canvas.upperCanvasEl, "dblclick", function (e) { var _canvas = canvas; var _mouse = _canvas.getPointer(e); var _active = _canvas.getActiveObject(); if (e.target) { var _targets = _canvas