Merge branch 'main' into feat/info-screen

pull/359/head
RuiAlonso 3 years ago
commit 5a2e7dd48d

@ -17,9 +17,10 @@ class ScoreView extends StatelessWidget {
context.select((GameBloc bloc) => bloc.state.status.isGameOver);
return Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 2,
padding: const EdgeInsets.only(
left: 12,
top: 2,
bottom: 2,
),
child: AnimatedSwitcher(
duration: kThemeAnimationDuration,
@ -50,7 +51,9 @@ class _ScoreDisplay extends StatelessWidget {
Widget build(BuildContext context) {
final l10n = context.l10n;
return FittedBox(
return Row(
children: [
FittedBox(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
@ -63,6 +66,8 @@ class _ScoreDisplay extends StatelessWidget {
const RoundCountDisplay(),
],
),
),
],
);
}
}

@ -91,7 +91,7 @@ class _SelectedCharacterState extends State<SelectedCharacter>
);
final animation = spriteSheet.createAnimation(
row: 0,
stepTime: 1 / 24,
stepTime: 1 / 12,
to: spriteSheet.rows * spriteSheet.columns,
);
if (_controller != null) _controller?.dispose();

Loading…
Cancel
Save