fix two finger scroll
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
54ce0a9775
commit
a5643a6b59
2 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ class _DesktopSettingPageState extends State<DesktopSettingPage>
|
|||
scrollController: controller,
|
||||
child: PageView(
|
||||
controller: controller,
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
children: const [
|
||||
_General(),
|
||||
_Safety(),
|
||||
|
|
|
|||
|
|
@ -331,6 +331,7 @@ class DesktopTab extends StatelessWidget {
|
|||
return _buildBlock(
|
||||
child: Obx(() => PageView(
|
||||
controller: state.value.pageController,
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
children: state.value.tabs
|
||||
.map((tab) => tab.page)
|
||||
.toList(growable: false))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue