diff --git a/CHANGELOG.md b/CHANGELOG.md index f8936b648f..bff69d77ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [7.0.2] -2026-01-09 + +### Fixed + +- Removed superfluous style udpates when setting `display` attribute. https://github.com/Textualize/textual/pull/6316 + ## [7.0.1] - 2026-01-07 ### Added @@ -3278,6 +3284,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040 - New handler system for messages that doesn't require inheritance - Improved traceback handling +[7.0.2]: https://github.com/Textualize/textual/compare/v7.0.1...v7.0.2 [7.0.1]: https://github.com/Textualize/textual/compare/v7.0.0...v7.0.1 [7.0.0]: https://github.com/Textualize/textual/compare/v6.11.0...v7.0.0 [6.11.0]: https://github.com/Textualize/textual/compare/v6.10.0...v6.11.0 diff --git a/pyproject.toml b/pyproject.toml index 9f140490c5..17206a8953 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "textual" -version = "7.0.1" +version = "7.0.2" homepage = "https://github.com/Textualize/textual" repository = "https://github.com/Textualize/textual" documentation = "https://textual.textualize.io/" diff --git a/src/textual/css/_style_properties.py b/src/textual/css/_style_properties.py index 7f63cf152b..40cb8a7370 100644 --- a/src/textual/css/_style_properties.py +++ b/src/textual/css/_style_properties.py @@ -867,7 +867,6 @@ def __set__(self, obj: StylesBase, value: EnumType | None = None): node = obj.node if node.parent: node._nodes.updated() - node.parent._refresh_styles() self._before_refresh(obj, value) obj.refresh(