Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't select object in front of another selected #1204

Closed
ptravassos opened this issue Feb 27, 2014 · 1 comment
Closed

Can't select object in front of another selected #1204

ptravassos opened this issue Feb 27, 2014 · 1 comment

Comments

@ptravassos
Copy link

After selecting an object you can't select another object in front of it. It was not happening in older versions.

execute Kitchensink test (if you select de square then you can't select de circle)
// clear canvas
canvas.clear();
// remove currently selected object
canvas.remove(canvas.getActiveObject());
// add red rectangle
canvas.add(new fabric.Rect({
width: 150,
height: 150,
left: 50,
top: 50,
fill: 'rgb(255,0,0)'
}));
// add green, half-transparent circle
canvas.add(new fabric.Circle({
radius: 40,
left: 70,
top: 70,
fill: 'rgb(0,255,0)',
}));

@kangax
Copy link
Member

kangax commented Feb 27, 2014

Duplicate of #1188

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants