add panel.onRederFinished to be invoked after shader.render make sure coordinatorPlugin affected

This commit is contained in:
pengfei.zhou
2020-03-10 18:51:53 +08:00
committed by osborn
parent 01d736c5a6
commit f3f28c55f8
17 changed files with 290 additions and 332 deletions

3
doric-js/index.d.ts vendored
View File

@@ -284,6 +284,7 @@ declare module 'doric/lib/src/ui/panel' {
onShow(): void;
onHidden(): void;
abstract build(rootView: Group): void;
onRenderFinished?: () => void;
addHeadView(type: string, v: View): void;
allHeadViews(): IterableIterator<Map<string, View>>;
removeHeadView(type: string, v: View | string): void;
@@ -931,7 +932,7 @@ declare module 'doric/lib/src/native/coordinator' {
start: number | Color;
end: number | Color;
};
}) => Promise<any>;
}) => void;
};
}