File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ [ 0.0.33] - 2020-09-20
8
+ - Fixed: Changing data in the ItemRenderer now validates its layout.
9
+
7
10
[ 0.0.32] - 2020-09-20
8
11
- Fixed: Before returning the value of contentWidth and contentHeight Label will now always be validated, in order to obtain the actual values.
9
12
- Fixed: Removed redundant validation of the label after label resize.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " pixi-yoo-ai" ,
3
- "version" : " 0.0.32 " ,
3
+ "version" : " 0.0.33 " ,
4
4
"description" : " Yoo Ai. Extensive UI library for PixiJS v5" ,
5
5
"author" : " Ilya Malanin" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export class ItemRenderer<T> extends InteractiveComponent {
92
92
protected draw ( ) : void {
93
93
if ( this . isInvalid ( "data" ) ) {
94
94
this . drawData ( ) ;
95
+ this . invalidate ( 'size' ) ;
95
96
}
96
97
if ( this . isInvalid ( "state" ) ) {
97
98
this . drawBackground ( ) ;
You can’t perform that action at this time.
0 commit comments