mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-27 01:00:50 +00:00
!16314 fix arkuix componentsnapshot issue
Merge pull request !16314 from lmy/arkuix_snapshot
This commit is contained in:
commit
97c3b889e3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user