Skip to content

Commit

Permalink
fix default bg color in dark theme; fixes #4062
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Oct 16, 2023
1 parent b1621d5 commit ebd7c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class Core {
})

gl.dom.Paper.node.style.background =
cnf.theme.mode === 'dark' && cnf.chart.background === 'transparent'
cnf.theme.mode === 'dark' && !cnf.chart.background
? 'rgba(0, 0, 0, 0.8)'
: cnf.chart.background

Expand Down

0 comments on commit ebd7c8f

Please sign in to comment.