mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-03 21:08:18 +00:00
Fix graph scrolling bug from #1021
And replicate those changes to the Svelte version.
This commit is contained in:
parent
a2046a51b1
commit
6139e807d0
4 changed files with 86 additions and 62 deletions
|
@ -117,7 +117,6 @@ fn map_image<MapFn>(mut image_frame: ImageFrame, map_fn: &'any_input MapFn) -> I
|
|||
where
|
||||
MapFn: for<'any_input> Node<'any_input, Color, Output = Color> + 'input,
|
||||
{
|
||||
let mut image_frame = image_frame;
|
||||
for pixel in &mut image_frame.image.data {
|
||||
*pixel = map_fn.eval(*pixel);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue