3467 grammar buttons not clickable over icon (#3472)

* fix: make grammar buttons clickable from all places

* formatting

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
avashilling 2025-07-16 12:24:49 -04:00 committed by GitHub
parent c03cd1d0e1
commit b9e733c5cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,14 +222,13 @@ class MorphTagChip extends StatelessWidget {
width: 28.0,
height: 28.0,
child: unlocked
? IconButton.filled(
style: IconButton.styleFrom(
backgroundColor:
theme.colorScheme.surface.withAlpha(180),
? Container(
decoration: BoxDecoration(
color: theme.colorScheme.surface.withAlpha(180),
borderRadius: BorderRadius.circular(20),
),
padding: const EdgeInsets.all(4),
onPressed: () => {},
icon: MorphIcon(
child: MorphIcon(
morphFeature: feature,
morphTag: morphTag,
),