I am learning to work in Famo.us framework, but I have a repeating problem. Around my surfaces there is weird 1px gray border, like one when there is no image src on image element. Do someone know how to solve that.
EDIT
This only happens when I set image as background of surface.
function _createBody() {
this.bodySurface = new ImageSurface({
properties: {
size:[undefined,undefined],
//backgroundImage: 'url(images/background.png)',
//backgroundRepeat:'no-repeat',
// backgroundSize: 'cover',
border:'0',
backgroundColor: 'red'
},
content:'images/background.png'
});
this.layout.content.add(this.bodySurface);
}
When I set image as content of Surface, border is gone.