mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 16:28:40 +00:00
fix #157
This commit is contained in:
parent
59ac5ea0fe
commit
597ba72c1e
1 changed files with 4 additions and 2 deletions
|
|
@ -667,7 +667,7 @@ class _ReactionButtonsState extends State<ReactionButtons> {
|
||||||
|
|
||||||
return AnimatedPositioned(
|
return AnimatedPositioned(
|
||||||
duration: Duration(milliseconds: 200), // Animation duration
|
duration: Duration(milliseconds: 200), // Animation duration
|
||||||
bottom: widget.show ? 100 : 90,
|
bottom: widget.show ? 80 : 60,
|
||||||
left: widget.show ? 0 : 150,
|
left: widget.show ? 0 : 150,
|
||||||
right: widget.show ? 0 : 150,
|
right: widget.show ? 0 : 150,
|
||||||
curve: Curves.linearToEaseOut,
|
curve: Curves.linearToEaseOut,
|
||||||
|
|
@ -675,7 +675,9 @@ class _ReactionButtonsState extends State<ReactionButtons> {
|
||||||
opacity: widget.show ? 1.0 : 0.0, // Fade in/out
|
opacity: widget.show ? 1.0 : 0.0, // Fade in/out
|
||||||
duration: Duration(milliseconds: 150),
|
duration: Duration(milliseconds: 150),
|
||||||
child: Container(
|
child: Container(
|
||||||
color: Colors.transparent,
|
color: Colors.black.withAlpha(
|
||||||
|
0), // so the gesture detector will be prevented to detect a click on this...
|
||||||
|
padding: EdgeInsets.symmetric(vertical: 32),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
if (secondRowEmojis.isNotEmpty)
|
if (secondRowEmojis.isNotEmpty)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue