Skip to content

Commit 4f7b2d0

Browse files
authored
fix arrangement cache (#2249)
* fix arrangement cache * changelog
1 parent 40cc2db commit 4f7b2d0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## Unreleased
8+
## [0.19.1] - 2023-04-10
99

1010
### Fixed
1111

1212
- Fix viewport units using wrong viewport size https://github.com/Textualize/textual/pull/2247
13+
- Fixed layout not clearing arrangement cache https://github.com/Textualize/textual/pull/2249
1314

1415

1516
## [0.19.0] - 2023-04-07
@@ -739,6 +740,8 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
739740
- New handler system for messages that doesn't require inheritance
740741
- Improved traceback handling
741742

743+
[0.19.1]: https://github.com/Textualize/textual/compare/v0.19.0...v0.19.1
744+
[0.19.0]: https://github.com/Textualize/textual/compare/v0.18.0...v0.19.0
742745
[0.18.0]: https://github.com/Textualize/textual/compare/v0.17.4...v0.18.0
743746
[0.17.3]: https://github.com/Textualize/textual/compare/v0.17.2...v0.17.3
744747
[0.17.2]: https://github.com/Textualize/textual/compare/v0.17.1...v0.17.2

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "textual"
3-
version = "0.19.0"
3+
version = "0.19.1"
44
homepage = "https://github.com/Textualize/textual"
55
description = "Modern Text User Interface framework"
66
authors = ["Will McGugan <[email protected]>"]

src/textual/widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ def refresh(
27952795
Returns:
27962796
The `Widget` instance.
27972797
"""
2798-
if layout and not self._layout_required:
2798+
if layout:
27992799
self._layout_required = True
28002800
self._stabilize_scrollbar = None
28012801
for ancestor in self.ancestors:

0 commit comments

Comments
 (0)