Skip to content

Commit

Permalink
Mark differently selected and in future actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed Jan 4, 2017
1 parent 258a390 commit 9fb5f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LogMonitorEntry.js
Expand Up @@ -124,13 +124,13 @@ export default class LogMonitorEntry extends Component {
render() {
const { actionId, error, action, state, collapsed, selected, inFuture } = this.props;
const styleEntry = {
opacity: (collapsed || inFuture) ? 0.5 : 1,
opacity: collapsed ? 0.5 : 1,
cursor: (actionId > 0) ? 'pointer' : 'default'
};

return (
<div style={{
opacity: selected ? 0.5 : 1,
opacity: selected ? 0.4 : inFuture ? 0.6 : 1, // eslint-disable-line no-nested-ternary
textDecoration: collapsed ? 'line-through' : 'none',
color: this.props.theme.base06
}}>
Expand Down

0 comments on commit 9fb5f9c

Please sign in to comment.