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

docs(terra-draw): fix spelling and punctuation in 5.STYLING.md #449

Merged
merged 3 commits into from
Jan 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions guides/5.STYLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ Polygons added to the `TerraDrawRenderMode` are styled using the following prope
| `polygonOutlineWidth` | Integer | `2` | The outline width of the polygon |

> [!TIP]
> Multiple Render Modes can be added to the Terra Draw instance. This allows you to style indiviual Render Modes differently.
> Multiple Render Modes can be added to the Terra Draw instance. This allows you to style individual Render Modes differently.

## Styling Specific Features

Expand Down Expand Up @@ -355,7 +355,7 @@ const draw = new TerraDraw({
],
});

// Ensure the color cache is clead up on deletion of features
// Ensure the color cache is cleaned up on deletion of features
draw.on("delete", (ids) => ids.forEach((id) => delete cache[id]));
```

Expand All @@ -370,4 +370,4 @@ draw.on("delete", (ids) => ids.forEach((id) => delete cache[id]));
5. [x] Styling
6. [ ] [Events](./6.EVENTS.md)
7. [ ] [Development](./7.DEVELOPMENT.md)
8. [ ] [Examples](./8.EXAMPLES.md)
8. [ ] [Examples](./8.EXAMPLES.md)
Loading