Skip to content

small code typo #349

@rexdk

Description

@rexdk

Thank you for a super and very useful article on https://webglfundamentals.org/webgl/lessons/webgl-multiple-views.html.

I think there is a typo where you say:
"
If you want to handle horizontal scrolling just change this line
...
to this
gl.canvas.style.transform = translateX(${window.scrollX} translateY(${window.scrollY}px);
"

I think it should be
gl.canvas.style.transform = translateX(${window.scrollX}px) translateY(${window.scrollY}px);

as in the code

Just a small thing. Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions