Update gui to use getter for target costumes
This commit is contained in:
1 parent
e63a3a7d9f
commit
868e401a40
1 file changed
+1
@@ -142,6 +142,7 @@ class CostumeTab extends React.Component {
|
||||
const addBlankMessage = target.isStage ? messages.addBlankBackdropMsg : messages.addBlankCostumeMsg;
|
||||
const addLibraryFunc = target.isStage ? onNewLibraryBackdropClick : onNewLibraryCostumeClick;
|
||||
const addLibraryIcon = target.isStage ? addLibraryBackdropIcon : addLibraryCostumeIcon;
|
||||
|
||||
return (
|
||||
<AssetPanel
|
||||
buttons={[
|
||||
|
||||
Reference in new issue
Block a user