mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 17:06:50 +08:00 
			
		
		
		
	Fixing center repaint
This commit is contained in:
		| @ -67,11 +67,12 @@ void main() async { | ||||
|   dashbook.storiesOf('FlameSpriteWidget').decorator(CenterDecorator()).add( | ||||
|         'default', | ||||
|         (ctx) => Container( | ||||
|           width: ctx.numberProperty('container width', 200), | ||||
|           width: ctx.numberProperty('container width', 400), | ||||
|           height: ctx.numberProperty('container height', 200), | ||||
|           padding: const EdgeInsets.all(20), | ||||
|           child: FlameSpriteWidget( | ||||
|             sprite: shieldSprite, | ||||
|             center: ctx.boolProperty('center', true), | ||||
|           ), | ||||
|         ), | ||||
|       ); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user