Skip to content

Commit

Permalink
Changing dark mode makes paint dirty (tensorflow#5305)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHollyer authored and dna2github committed May 1, 2023
1 parent 33472fd commit b214c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorboard/webapp/widgets/line_chart_v2/lib/chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export class ChartImpl implements Chart {

setUseDarkMode(useDarkMode: boolean) {
this.renderer.setUseDarkMode(useDarkMode);
this.seriesLineView.markAsPaintDirty();
this.scheduleRepaint();
}

Expand Down

0 comments on commit b214c80

Please sign in to comment.