opt: fetch rgba positively for sessions on flutter

This commit is contained in:
Kingtous committed 2023-02-11 10:01:55 +08:00
1 parent d416d7d965
commit 491932cda1
5 files changed
+31 -3

No files matched your search

+5
View File
@@ -282,6 +282,11 @@ impl InvokeUiSession for SciterHandler {
fn on_voice_call_incoming(&self) {
self.call("onVoiceCallIncoming", &make_args!());
}
/// RGBA is directly rendered by [on_rgba]. No need to store the rgba for the sciter ui.
fn get_rgba(&self) -> Option<Vec<u8>> {
None
}
}
pub struct SciterSession(Session<SciterHandler>);