Keep toolbar/practice button icons from changing color when pressed (#4524)

This commit is contained in:
Kelrap 2025-10-28 09:23:49 -04:00 committed by GitHub
parent 28331df082
commit 6db4c6aaba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 3 deletions

View file

@ -535,14 +535,12 @@ class SelectModeButtonsState extends State<SelectModeButtons> {
? Icons.pause_outlined
: Icons.volume_up,
size: 20,
color: mode == _selectedMode ? Colors.white : null,
);
}
return Icon(
mode.icon,
size: 20,
color: mode == _selectedMode ? Colors.white : null,
);
}

View file

@ -49,7 +49,6 @@ class ToolbarButton extends StatelessWidget {
child: Icon(
mode.icon,
size: 20,
color: mode == overlayController.toolbarMode ? Colors.white : null,
),
),
),