Merge branch 'master' of https://github.com/catarak/p5.js-web-editor into editor
This commit is contained in:
commit
ea2ed435ba
3 changed files with 7 additions and 2 deletions
|
@ -41,10 +41,10 @@ class SidebarItem extends React.Component {
|
|||
className={itemClass}
|
||||
onBlur={() => this.props.hideFileOptions(this.props.file.id)}
|
||||
tabIndex={this.props.fileIndex}
|
||||
onClick={() => this.props.setSelectedFile(this.props.file.id)}
|
||||
>
|
||||
<a
|
||||
className="sidebar__file-item-name"
|
||||
onClick={() => this.props.setSelectedFile(this.props.file.id)}
|
||||
>{this.props.file.name}</a>
|
||||
<input
|
||||
type="text"
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
&--selected {
|
||||
background-color: $ide-border-color;
|
||||
}
|
||||
&:hover .sidebar__file-item-name {
|
||||
color: $light-primary-text-color;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar__file-item-name {
|
||||
|
|
|
@ -15,7 +15,9 @@ const defaultHTML =
|
|||
`<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.0/p5.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/p5.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/addons/p5.dom.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/addons/p5.sound.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue