mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Disable the "Add parameter" button for ActionWithOperator.
This commit is contained in:
@@ -695,6 +695,10 @@ export default class EventsFunctionParametersEditor extends React.Component<
|
||||
label={<Trans>Add a parameter</Trans>}
|
||||
onClick={this._addParameter}
|
||||
icon={<Add />}
|
||||
disabled={
|
||||
eventsFunction.getFunctionType() ===
|
||||
gd.EventsFunction.ActionWithOperator
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</Line>
|
||||
|
Reference in New Issue
Block a user