Skip to content

Commit

Permalink
Merge branch 'darkmode' of https://github.com/TristanBurchett/nvda in…
Browse files Browse the repository at this point in the history
…to darkmode
  • Loading branch information
TristanBurchett committed Jul 28, 2024
2 parents ae9599e + 8ca57af commit e627f94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/brailleViewer/brailleViewerGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ def _updateGui(self):
"""Ensure all GUI updates happen in one place to create a smooth update, all changes should happen
between freeze and thaw.
"""
gui.guiHelper.enableDarkMode(self)
self.Freeze()
if self._newBraille is not None:
self._brailleOutput.SetValue(self._newBraille)
Expand Down
1 change: 1 addition & 0 deletions source/pythonConsole.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def __init__(self, parent):
mainSizer.Add(inputSizer, proportion=1, flag=wx.EXPAND)
self.SetSizer(mainSizer)
mainSizer.Fit(self)
gui.guiHelper.enableDarkMode(self)

self.console = PythonConsole(
outputFunc=self.output,
Expand Down
1 change: 1 addition & 0 deletions source/speechViewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def __init__(self, onDestroyCallBack: Callable[[], None]):

# Don't let speech viewer to steal keyboard focus when opened
self.ShowWithoutActivating()
gui.guiHelper.enableDarkMode(self)

def onSessionLockStateChange(self, isNowLocked: bool):
"""
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Unicode CLDR has also been updated.
* NVDA checks daily for add-on updates.
* Only updates within the same channel will be checked (e.g. installed beta add-ons will only notify for updates in the beta channel).
* Added support for the Help Tech Activator Pro displays. (#16668)
* Added support for dark mode. (#16683)

### Changes

Expand Down

0 comments on commit e627f94

Please sign in to comment.