Merge pull request #816 from clasher113/main

fix image uv region reset
This commit is contained in:
MihailRis 2026-03-17 19:29:02 +03:00 • committed by GitHub
commit d965aaa55e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,8 +34,8 @@ void Image::draw(const DrawContext& pctx, const Assets& assets) {
auto textureRegion = refreshTexture(assets);
batch->setRegion(textureRegion.region);
batch->texture(textureRegion.texture);
batch->setRegion(textureRegion.region);
batch->rect(
pos.x,
pos.y,