diff --git a/src/main/index.js b/src/main/index.js index f97d59a16..41e7a5eef 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -55,6 +55,7 @@ function createWindow() { titleBarStyle: 'customButtonsOnHover', show: false, frame: false, + transparent: true, icon: iconPath }); diff --git a/src/renderer/account/components/AccountPanel/Breakdown/BreakdownChart/BreakdownChart.js b/src/renderer/account/components/AccountPanel/Breakdown/BreakdownChart/BreakdownChart.js index 2f8a9022f..3fce11085 100644 --- a/src/renderer/account/components/AccountPanel/Breakdown/BreakdownChart/BreakdownChart.js +++ b/src/renderer/account/components/AccountPanel/Breakdown/BreakdownChart/BreakdownChart.js @@ -31,7 +31,10 @@ export default class BreakdownChart extends React.PureComponent { const data = this.getData(); return ( - + { return formatCurrency(value, this.props.currency); - } + }; } diff --git a/src/renderer/account/components/AccountPanel/Breakdown/SectionLabel/SectionLabel.js b/src/renderer/account/components/AccountPanel/Breakdown/SectionLabel/SectionLabel.js index c2bd52de1..7419d1f74 100644 --- a/src/renderer/account/components/AccountPanel/Breakdown/SectionLabel/SectionLabel.js +++ b/src/renderer/account/components/AccountPanel/Breakdown/SectionLabel/SectionLabel.js @@ -7,14 +7,27 @@ import styles from './SectionLabel.scss'; const RADIAN = Math.PI / 180; export default function SectionLabel(props) { - const { cx, cy, midAngle, outerRadius, percent, payload: { label } } = props; + const { + cx, + cy, + midAngle, + outerRadius, + percent, + payload: { label } + } = props; const radius = outerRadius + 25; const x = cx + radius * Math.cos(-midAngle * RADIAN); const y = cy + radius * Math.sin(-midAngle * RADIAN); return ( - + {`${(percent * 100).toFixed(0)}%`} diff --git a/static/splash.html b/static/splash.html index f15414c91..3630b4f20 100644 --- a/static/splash.html +++ b/static/splash.html @@ -22,9 +22,9 @@