}
- onClick={this.newHandler}
- disabled={this.state.isSavingScene}
+ onClick={
+ !this.state.isSavingScene ? this.newHandler : undefined
+ }
variant="toolbtn"
>
{this.props.currentUser ? (
{this.state.savedScene ? (
-
) : (
}
- onClick={this.toggleSaveActionState.bind(this)}
- disabled={this.state.isSavingScene}
+ onClick={
+ !this.state.isSavingScene
+ ? this.toggleSaveActionState.bind(this)
+ : undefined
+ }
variant="toolbtn"
+ className="min-w-[110px]"
>
-
Save
+
Save
)}
{this.state.isSaveActionActive && (
@@ -335,8 +344,9 @@ export default class Toolbar extends Component {
onClick={this.handleUnsignedSaveClick}
disabled={this.state.isSavingScene}
variant="toolbtn"
+ className="min-w-[110px]"
>
-
Save
+
Save
)}
{this.state.showLoadBtn && (