Skip to content

Issue in /src/pages/ps_reference/classes/layer.md #482

@joshbduncan

Description

@joshbduncan

The example code for the flip method is incorrect. The signature says it requires the axis parameter but the example code shows calling an axis method on the flip method.

Current (Incorrect) Example

// flip horizontally
await layer.flip.horizontal()

Corrected Example

// flip horizontally
await layer.flip("horizontal")

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