From 1818b00ac66c25cb099cb0d3a72a3cfce6c7dcd1 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 15 Nov 2022 16:29:12 -0600 Subject: [PATCH] slightly adjust mouse region --- .../sub_widgets/send_receive_tab_menu.dart | 112 +++++++++--------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/lib/pages_desktop_specific/home/my_stack_view/wallet_view/sub_widgets/send_receive_tab_menu.dart b/lib/pages_desktop_specific/home/my_stack_view/wallet_view/sub_widgets/send_receive_tab_menu.dart index 251e4f301..b2f6156c2 100644 --- a/lib/pages_desktop_specific/home/my_stack_view/wallet_view/sub_widgets/send_receive_tab_menu.dart +++ b/lib/pages_desktop_specific/home/my_stack_view/wallet_view/sub_widgets/send_receive_tab_menu.dart @@ -39,18 +39,18 @@ class _SendReceiveTabMenuState extends State { return Row( children: [ Expanded( - child: GestureDetector( - onTap: () => _onChanged(0), - child: Container( - color: Colors.transparent, - child: Column( - children: [ - const SizedBox( - height: 16, - ), - MouseRegion( - cursor: SystemMouseCursors.click, - child: Text( + child: MouseRegion( + cursor: SystemMouseCursors.click, + child: GestureDetector( + onTap: () => _onChanged(0), + child: Container( + color: Colors.transparent, + child: Column( + children: [ + const SizedBox( + height: 16, + ), + Text( "Send", style: STextStyles.desktopTextExtraSmall(context).copyWith( @@ -63,40 +63,40 @@ class _SendReceiveTabMenuState extends State { .textSubtitle1, ), ), - ), - const SizedBox( - height: 19, - ), - Container( - height: 2, - decoration: BoxDecoration( - color: _selectedIndex == 0 - ? Theme.of(context) - .extension()! - .accentColorBlue - : Theme.of(context) - .extension()! - .background, + const SizedBox( + height: 19, ), - ), - ], + Container( + height: 2, + decoration: BoxDecoration( + color: _selectedIndex == 0 + ? Theme.of(context) + .extension()! + .accentColorBlue + : Theme.of(context) + .extension()! + .background, + ), + ), + ], + ), ), ), ), ), Expanded( - child: GestureDetector( - onTap: () => _onChanged(1), - child: Container( - color: Colors.transparent, - child: Column( - children: [ - const SizedBox( - height: 16, - ), - MouseRegion( - cursor: SystemMouseCursors.click, - child: Text( + child: MouseRegion( + cursor: SystemMouseCursors.click, + child: GestureDetector( + onTap: () => _onChanged(1), + child: Container( + color: Colors.transparent, + child: Column( + children: [ + const SizedBox( + height: 16, + ), + Text( "Receive", style: STextStyles.desktopTextExtraSmall(context).copyWith( @@ -109,23 +109,23 @@ class _SendReceiveTabMenuState extends State { .textSubtitle1, ), ), - ), - const SizedBox( - height: 19, - ), - Container( - height: 2, - decoration: BoxDecoration( - color: _selectedIndex == 1 - ? Theme.of(context) - .extension()! - .accentColorBlue - : Theme.of(context) - .extension()! - .background, + const SizedBox( + height: 19, ), - ), - ], + Container( + height: 2, + decoration: BoxDecoration( + color: _selectedIndex == 1 + ? Theme.of(context) + .extension()! + .accentColorBlue + : Theme.of(context) + .extension()! + .background, + ), + ), + ], + ), ), ), ),