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:
parent
c03cd1d0e1
commit
b9e733c5cc
1 changed files with 5 additions and 6 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue