1.7.2 WIP

This commit is contained in:
Zsolt Viczian
2022-06-22 23:50:19 +02:00
parent 7cd3ec40c6
commit d2284b8d14
9 changed files with 89 additions and 48 deletions

View File

@@ -49,7 +49,7 @@ export class ToolsPanel extends React.Component<PanelProps, PanelState> {
constructor(props: PanelProps) {
super(props);
const react = props.view.ownerWindow.React;
const react = props.view.plugin.getPackage(props.view.ownerWindow).react;
this.containerRef = react.createRef();
this.state = {
visible: props.visible,