@@ -43,7 +44,7 @@ class Item extends Component {
{icon}
-
{name}
+
{title}
);
diff --git a/src/toolbar/macOs/nav/nav.js b/src/toolbar/macOs/nav/nav.js
index 288abafb..fc2b2663 100644
--- a/src/toolbar/macOs/nav/nav.js
+++ b/src/toolbar/macOs/nav/nav.js
@@ -1,6 +1,7 @@
-import React, { Component, PropTypes } from 'react';
+import React, { Component } from 'react';
import { Style } from 'radium';
import Dimension, { dimensionPropTypes } from '../../../style/dimension';
+import WindowFocus from '../../../windowFocus';
const styles = {
nav: {
@@ -10,22 +11,30 @@ const styles = {
};
@Dimension({ height: '54px' })
+@WindowFocus()
class Nav extends Component {
static propTypes = {
...dimensionPropTypes
};
render() {
- const { children, style, ...props } = this.props;
+ const { children, style, isWindowFocused, ...props } = this.props;
+ let componentStyle = { ...styles.nav };
+
+ let fillOpacity = '.8';
+ if (!isWindowFocused) {
+ componentStyle.opacity = '.5';
+ fillOpacity = '.3';
+ }
return (
-