fix: 评论区表情去除圆角

This commit is contained in:
orz12
2024-04-22 20:11:57 +08:00
parent d26898a711
commit 42af6ec3f7

View File

@@ -63,9 +63,9 @@ class _EmotePanelState extends State<EmotePanel>
return Material( return Material(
color: Colors.transparent, color: Colors.transparent,
clipBehavior: Clip.hardEdge, clipBehavior: Clip.hardEdge,
shape: RoundedRectangleBorder( // shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(4), // borderRadius: BorderRadius.circular(4),
), // ),
child: InkWell( child: InkWell(
onTap: () { onTap: () {
widget.onChoose(e, e.emote![index]); widget.onChoose(e, e.emote![index]);
@@ -83,6 +83,7 @@ class _EmotePanelState extends State<EmotePanel>
width: size * 38, width: size * 38,
height: size * 38, height: size * 38,
semanticsLabel: e.emote![index].text!, semanticsLabel: e.emote![index].text!,
type: 'emote',
), ),
), ),
), ),