chore: swapped asset for the spacebar

pull/242/head
Jonathan Daniels 3 years ago
parent 87d7653806
commit 1fa3a60e63

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -51,6 +51,10 @@ class $AssetsImagesComponentsGen {
/// File path: assets/images/components/key.png
AssetGenImage get key =>
const AssetGenImage('assets/images/components/key.png');
/// File path: assets/images/components/space.png
AssetGenImage get space =>
const AssetGenImage('assets/images/components/space.png');
}
class $AssetsImagesScoreGen {

@ -282,7 +282,9 @@ class KeyButton extends StatelessWidget {
image: DecorationImage(
fit: BoxFit.fill,
image: AssetImage(
Assets.images.components.key.keyName,
_control.isSpace
? Assets.images.components.space.keyName
: Assets.images.components.key.keyName,
),
),
),

Loading…
Cancel
Save