mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 05:42:32 +00:00
Fix call to render::get_sprite_pixel() which needs the clip size with the zoom applied
This commit is contained in:
parent
c99ca3093d
commit
6ec178aece
@ -37,8 +37,8 @@ color_t get_sprite_pixel(const Sprite* sprite,
|
||||
render.renderSprite(
|
||||
image.get(), sprite, frame,
|
||||
gfx::ClipF(0, 0,
|
||||
proj.applyX(x),
|
||||
proj.applyY(y), 1, 1));
|
||||
proj.applyX(x), proj.applyY(y),
|
||||
proj.applyX(1), proj.applyY(1)));
|
||||
|
||||
color = get_pixel(image.get(), 0, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user