this.setState({ isHovered: false})}>
+
this.setState({ isHovered: false })}>
this.props.onClick()} color="greenyellow" />
this.highlight()} title="Add component (Not Implemented)">
-

+
this.switchVisibility()} title="Show/Hide control">
-

+
@@ -54,7 +52,7 @@ export class ControlTreeItemComponent extends React.Component
this.setState({ isHovered: true})}>
+ this.setState({ isHovered: true })}>
this.props.onClick()} color="greenyellow" />
diff --git a/guiEditor/src/components/sceneExplorer/sceneExplorer.scss b/guiEditor/src/components/sceneExplorer/sceneExplorer.scss
index 708582ba662..f4886b1c222 100644
--- a/guiEditor/src/components/sceneExplorer/sceneExplorer.scss
+++ b/guiEditor/src/components/sceneExplorer/sceneExplorer.scss
@@ -368,7 +368,7 @@
.controlTools {
grid-column: 2;
display: grid;
- grid-template-columns: 1fr 20px 20px auto 5px;
+ grid-template-columns: 1fr 30px 30px auto 5px;
align-items: center;
.highlight {
@@ -383,6 +383,8 @@
width: 20px;
grid-column: 4;
}
+
+
}
@@ -403,8 +405,9 @@
grid-column: 1;
white-space: nowrap;
text-overflow: ellipsis;
- overflow: hidden;
- }
+ overflow: hidden;
+ }
+
}
}
}
\ No newline at end of file
diff --git a/guiEditor/src/components/sceneExplorer/sceneExplorerComponent.tsx b/guiEditor/src/components/sceneExplorer/sceneExplorerComponent.tsx
index bfffe18110e..e79cb8629d3 100644
--- a/guiEditor/src/components/sceneExplorer/sceneExplorerComponent.tsx
+++ b/guiEditor/src/components/sceneExplorer/sceneExplorerComponent.tsx
@@ -195,7 +195,7 @@ export class SceneExplorerComponent extends React.Component t.getClassName() === "AdvancedDynamicTexture");
return (
- e.preventDefault()}>
+
{guiElements && guiElements.length > 0 && }
);