Favorites icon inline in Load dialog.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"socket_server_port": 8080,
|
"socket_server_port": 80,
|
||||||
"socket_server_address": "*",
|
"socket_server_address": "*",
|
||||||
"debug": true,
|
"debug": true,
|
||||||
"max_upload_size": 1048576,
|
"max_upload_size": 1048576,
|
||||||
|
|||||||
@@ -503,16 +503,24 @@ export const LoadPluginDialog =
|
|||||||
<PluginIcon pluginType={value.plugin_type} pluginUri={value.uri} size={24} />
|
<PluginIcon pluginType={value.plugin_type} pluginUri={value.uri} size={24} />
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.content2}>
|
<div className={classes.content2}>
|
||||||
<Typography color="textPrimary" noWrap className={classes.label} >
|
<div className={classes.label} >
|
||||||
|
<Typography color="textPrimary" noWrap sx={{display: "inline"}} >
|
||||||
{value.name}
|
{value.name}
|
||||||
|
{
|
||||||
|
isFavorite && (
|
||||||
|
<StarBorderIcon sx={{ color: "#C80", fontSize:16 }} />
|
||||||
|
|
||||||
|
)
|
||||||
|
}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
</div>
|
||||||
<Typography color="textSecondary" noWrap>
|
<Typography color="textSecondary" noWrap>
|
||||||
{value.plugin_display_type} {this.stereo_indicator(value)}
|
{value.plugin_display_type} {this.stereo_indicator(value)}
|
||||||
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.favoriteDecoration}>
|
<div className={classes.favoriteDecoration}>
|
||||||
<StarBorderIcon sx={{ color: "#C80", opacity: isFavorite ? 1 : 0 }} />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
|
|||||||
Reference in New Issue
Block a user