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