Add a simple way to change skins

This commit is contained in:
Jordan Eldredge 2019-08-19 06:34:43 -07:00
parent 51f06c8e4c
commit 0ea8cc6561

View file

@ -556,6 +556,18 @@ function App() {
>
<XmlNode node={root} />
</DropTarget>
<select
style={{ position: "absolute", bottom: 0 }}
onChange={e => {
dispatch(Actions.gotSkinUrl(e.target.value));
}}
>
{skinUrls.map(url => (
<option value={url} key={url}>
{url}
</option>
))}
</select>
<Sidebar>
<Debugger />
</Sidebar>