slightly adjust mouse region

This commit is contained in:
julian 2022-11-15 16:29:12 -06:00
parent 3eae7d0fab
commit 1818b00ac6

View file

@ -39,6 +39,8 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
return Row( return Row(
children: [ children: [
Expanded( Expanded(
child: MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector( child: GestureDetector(
onTap: () => _onChanged(0), onTap: () => _onChanged(0),
child: Container( child: Container(
@ -48,9 +50,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
const SizedBox( const SizedBox(
height: 16, height: 16,
), ),
MouseRegion( Text(
cursor: SystemMouseCursors.click,
child: Text(
"Send", "Send",
style: style:
STextStyles.desktopTextExtraSmall(context).copyWith( STextStyles.desktopTextExtraSmall(context).copyWith(
@ -63,7 +63,6 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
.textSubtitle1, .textSubtitle1,
), ),
), ),
),
const SizedBox( const SizedBox(
height: 19, height: 19,
), ),
@ -84,7 +83,10 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
), ),
), ),
), ),
),
Expanded( Expanded(
child: MouseRegion(
cursor: SystemMouseCursors.click,
child: GestureDetector( child: GestureDetector(
onTap: () => _onChanged(1), onTap: () => _onChanged(1),
child: Container( child: Container(
@ -94,9 +96,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
const SizedBox( const SizedBox(
height: 16, height: 16,
), ),
MouseRegion( Text(
cursor: SystemMouseCursors.click,
child: Text(
"Receive", "Receive",
style: style:
STextStyles.desktopTextExtraSmall(context).copyWith( STextStyles.desktopTextExtraSmall(context).copyWith(
@ -109,7 +109,6 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
.textSubtitle1, .textSubtitle1,
), ),
), ),
),
const SizedBox( const SizedBox(
height: 19, height: 19,
), ),
@ -130,6 +129,7 @@ class _SendReceiveTabMenuState extends State<SendReceiveTabMenu> {
), ),
), ),
), ),
),
], ],
); );
} }