mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 14:17:21 +02:00
♻️ Refactor blend mode and fills into their own submodules
This commit is contained in:
parent
2d4281bdf2
commit
00ab9ad3f0
5 changed files with 116 additions and 109 deletions
|
@ -154,7 +154,7 @@ pub extern "C" fn add_shape_solid_fill(raw_color: u32) {
|
|||
let state = unsafe { STATE.as_mut() }.expect("got an invalid state pointer");
|
||||
if let Some(shape) = state.current_shape() {
|
||||
let color = skia::Color::new(raw_color);
|
||||
shape.add_fill(shapes::Fill::from(color));
|
||||
shape.add_fill(shapes::Fill::Solid(color));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue