mirror of
https://github.com/penpot/penpot.git
synced 2025-01-07 15:39:42 -05:00
🐛 Tweak sampling options for rendering shapes
This commit is contained in:
parent
42211c4ed6
commit
6f11eebbed
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ impl RenderState {
|
||||||
self.drawing_surface.draw(
|
self.drawing_surface.draw(
|
||||||
&mut self.final_surface.canvas(),
|
&mut self.final_surface.canvas(),
|
||||||
(0.0, 0.0),
|
(0.0, 0.0),
|
||||||
skia::SamplingOptions::new(skia::FilterMode::Linear, skia::MipmapMode::None),
|
skia::SamplingOptions::new(skia::FilterMode::Linear, skia::MipmapMode::Nearest),
|
||||||
Some(&paint),
|
Some(&paint),
|
||||||
);
|
);
|
||||||
self.drawing_surface
|
self.drawing_surface
|
||||||
|
|
Loading…
Reference in a new issue