Skip to content

Commit

Permalink
fun with cursors
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmorris committed Mar 2, 2017
1 parent dd443fc commit c602365
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Matrix.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ svg.matrix {
border: black;
border-style: solid;
border-width: 1px;
cursor: crosshair;
}

4 changes: 4 additions & 0 deletions src/Word.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@
.incidental {
text-shadow: 0 0 1.5em rgb(0, 135, 255);
}

.word {
cursor: default;
}
2 changes: 1 addition & 1 deletion src/Word.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Word extends Component {
}

render() {
var kls = this.props.focus;
var kls = "word" + (this.props.focus ? " "+this.props.focus : "");
return (<span className={kls} onMouseEnter={this.onEnter}
onMouseLeave={this.onLeave}>
{this.props.raw}{" "}
Expand Down

0 comments on commit c602365

Please sign in to comment.