0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 16:12:38 +00:00

Add preview texture to dropdown options

This commit is contained in:
Trevor Buckner
2022-03-01 11:21:13 -05:00
parent 297365407b
commit 01087ca302
4 changed files with 17 additions and 3 deletions

View File

@@ -139,6 +139,7 @@ const MetadataEditor = createClass({
return _.map(Themes[renderer], (theme)=>{
return <div className='item' key={''} onClick={()=>this.handleTheme(theme)} title={''}>
{`${theme.renderer} : ${theme.name}`}
<img src={`/themes/${theme.renderer}/${theme.path}/dropdownTexture.png`}/>
</div>;
});
};