mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Lightly fade buttons to add child to a non-structure variable
This commit is contained in:
@@ -94,7 +94,7 @@ const ThemableVariableRow = ({
|
||||
}
|
||||
columns.push(
|
||||
<TreeTableCell key="tools" style={styles.toolColumn}>
|
||||
<IconButton onClick={onAddChild}>
|
||||
<IconButton onClick={onAddChild} style={isStructure ? undefined : styles.fadedButton}>
|
||||
<AddCircle />
|
||||
</IconButton>
|
||||
</TreeTableCell>
|
||||
|
@@ -24,4 +24,7 @@ export default {
|
||||
emptyExplanationMessage: {
|
||||
textAlign: 'left',
|
||||
},
|
||||
fadedButton: {
|
||||
opacity: 0.7,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user