Skip to content

Commit

Permalink
Merge pull request #746 from 3DStreet/add-panel
Browse files Browse the repository at this point in the history
Clean up code in AddLayerPanel component and drag and drop
  • Loading branch information
kfarr authored Aug 8, 2024
2 parents 987a87a + 5e8105a commit 7b7ed1a
Show file tree
Hide file tree
Showing 6 changed files with 464 additions and 211 deletions.
2 changes: 1 addition & 1 deletion src/editor/components/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export default class Main extends Component {
<Compass32Icon />
</Button>
)}
{this.state.inspectorEnabled && this.state.isAddLayerPanelOpen && (
{this.state.inspectorEnabled && (
<AddLayerPanel
onClose={this.toggleAddLayerPanel}
isAddLayerPanelOpen={this.state.isAddLayerPanelOpen}
Expand Down
Loading

0 comments on commit 7b7ed1a

Please sign in to comment.