Skip to content

Commit db848bb

Browse files
committed
Release 0.2.1
1 parent 7c7f44b commit db848bb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "egui_skia"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
description = "egui_skia is a skia integration for the egui ui library. Render egui within a skia application or render skia in a egui application."
66
license = "MIT"

src/painter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ impl Painter {
196196
mesh.vertices.iter().enumerate().for_each(|(_i, v)| {
197197
// Apparently vertices can be NaN and if they are NaN, nothing is rendered.
198198
// Replacing them with 0 works around this.
199+
// https://github.com/lucasmerlin/egui_skia/issues/4
199200
let fixed_pos = if v.pos.x.is_nan() || v.pos.y.is_nan() {
200201
Pos2::new(0.0, 0.0)
201202
} else {

0 commit comments

Comments
 (0)