Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Correction in documentation #129

Closed
atgillette opened this issue Mar 26, 2016 · 2 comments
Closed

Correction in documentation #129

atgillette opened this issue Mar 26, 2016 · 2 comments

Comments

@atgillette
Copy link

Hi,

I came across this:

function _createSection() {
    var surface = new Surface({..});
    surface.isSection = true;
    var renderNode = new RenderNode(new Modifier({
        transform: Transform.infront
    }));
    renderNode.add(surface);
    return renderNode;
}

It should be this:

function _createSection() {
    var surface = new Surface({..});
    var renderNode = new RenderNode(new Modifier({
        transform: Transform.inFront
    }));
    renderNode.add(surface);
    renderNode.isSection = true;
    return renderNode;
}
@IjzerenHein
Copy link
Owner

Ah thank you very much. I've updated the docs.
Cheers

@atgillette
Copy link
Author

Thanks for making the correction

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

No branches or pull requests

2 participants