Skip to content

Commit 7f5bdcb

Browse files
committed
snapshot for default app classes
1 parent 1d893a9 commit 7f5bdcb

File tree

4 files changed

+182
-1
lines changed

4 files changed

+182
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515
- Fixed running `App.run` after `asyncio.run` https://github.com/Textualize/textual/pull/5799
1616
- Fixed triggering a deprecation warning in py >= 3.10 https://github.com/Textualize/textual/pull/5799
1717
- Fixed `Input` invalid cursor position after updating the value https://github.com/Textualize/textual/issues/5811
18+
- Fixed `DEFAULT_CLASSES` when applied to App
1819

1920
### Added
2021

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def __init__(
565565
CssPathError: When the supplied CSS path(s) are an unexpected type.
566566
"""
567567
self._start_time = perf_counter()
568-
super().__init__()
568+
super().__init__(classes=self.DEFAULT_CLASSES)
569569
self.features: frozenset[FeatureFlag] = parse_features(os.getenv("TEXTUAL", ""))
570570

571571
self._registered_themes: dict[str, Theme] = {}
Lines changed: 151 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)