mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Ensure Debugger toolbar is not shown if DebuggerEditor is not active
This commit is contained in:
@@ -48,6 +48,8 @@ export default class Debugger extends React.Component<Props, State> {
|
||||
};
|
||||
|
||||
updateToolbar() {
|
||||
if (!this.props.isActive) return;
|
||||
|
||||
this.props.setToolbar(
|
||||
<Toolbar
|
||||
onPlay={() => this._play(this.state.selectedId)}
|
||||
|
Reference in New Issue
Block a user