0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-28 09:46:51 -05:00

Merge pull request #5968 from penpot/ladybenko-fix-sampling-options-merge

🐛 Fix messed up rebase re: sampling options
This commit is contained in:
Elena Torró 2025-02-26 15:32:26 +01:00 committed by GitHub
commit bffbccac50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,7 @@ pub(crate) struct RenderState {
// Stack of nodes pending to be rendered.
pub pending_nodes: Vec<NodeRenderState>,
pub render_complete: bool,
pub sampling_options: skia::SamplingOptions,
}
impl RenderState {
@ -100,6 +101,7 @@ impl RenderState {
render_in_progress: false,
pending_nodes: vec![],
render_complete: true,
sampling_options,
}
}