fix arkuix componentsnapshot issue

Signed-off-by: lmy <lvmengyu3@huawei.com>
Change-Id: I490795e9347820ef7e12ca200c234e0ee45167f9
This commit is contained in:
lmy 2024-10-24 14:24:38 +08:00
parent 9ddce33f50
commit 4b0b973347

View File

@ -84,6 +84,8 @@ std::shared_ptr<Media::PixelMap> RSDividedUICapture::TakeLocalCapture()
return nullptr;
}
auto canvas = std::make_shared<RSPaintFilterCanvas>(drSurface.get());
canvas->ResetMatrix();
canvas->Clear(Drawing::Color::COLOR_TRANSPARENT);
#endif
drawCallList->Playback(*canvas);
return pixelmap;