Skip to content

Commit b3c9e22

Browse files
committed
Merge branch '0.0.33'
2 parents f3d99b7 + d14c9df commit b3c9e22

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic versioning](https://semver.org/spec/v2.0.0.html).
66

7+
[0.0.33] - 2020-09-20
8+
- Fixed: Changing data in the ItemRenderer now validates its layout.
9+
710
[0.0.32] - 2020-09-20
811
- Fixed: Before returning the value of contentWidth and contentHeight Label will now always be validated, in order to obtain the actual values.
912
- Fixed: Removed redundant validation of the label after label resize.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pixi-yoo-ai",
3-
"version": "0.0.32",
3+
"version": "0.0.33",
44
"description": "Yoo Ai. Extensive UI library for PixiJS v5",
55
"author": "Ilya Malanin",
66
"license": "MIT",

src/yooai/data/ItemRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export class ItemRenderer<T> extends InteractiveComponent {
9292
protected draw(): void {
9393
if (this.isInvalid("data")) {
9494
this.drawData();
95+
this.invalidate('size');
9596
}
9697
if (this.isInvalid("state")) {
9798
this.drawBackground();

0 commit comments

Comments
 (0)