Skip to content

Commit

Permalink
Cargo fmt, README.md fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Blatko1 committed Apr 3, 2022
1 parent 19e2de5 commit debca8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following to your `Cargo.toml` file:

```toml
[dependencies]
wgpu_text = "0.5.0"
wgpu_text = "0.6.0"
```
## **Features**
Besides basic text rendering and **glyph-brush** features, there are some features that add customization:
Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ where
}

/// Resizes depth texture to provided dimensions.
///
///
/// Required if [`BrushBuilder::with_depth_testing()`] is set to `true`.
///
///
/// Should be used every time the window (`wgpu::SurfaceConfiguration`) is resized.
/// If not used when needed, program will crash with _wgpu error_.
///
///
/// If used while [`BrushBuilder::with_depth_testing()`] is set to `false`
/// nothing will happen.
#[inline]
Expand Down Expand Up @@ -335,7 +335,7 @@ where
}

/// Defaults to `false`. If set to true all text will be depth tested.
///
///
/// For each section, depth can be set by modifying
/// the z coordinate ([`OwnedText::with_z()`]).
///
Expand Down

0 comments on commit debca8a

Please sign in to comment.