mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-06-13 06:07:35 +08:00
fix two finger scroll
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
54ce0a9775
commit
a5643a6b59
@ -125,6 +125,7 @@ class _DesktopSettingPageState extends State<DesktopSettingPage>
|
|||||||
scrollController: controller,
|
scrollController: controller,
|
||||||
child: PageView(
|
child: PageView(
|
||||||
controller: controller,
|
controller: controller,
|
||||||
|
physics: NeverScrollableScrollPhysics(),
|
||||||
children: const [
|
children: const [
|
||||||
_General(),
|
_General(),
|
||||||
_Safety(),
|
_Safety(),
|
||||||
|
@ -331,6 +331,7 @@ class DesktopTab extends StatelessWidget {
|
|||||||
return _buildBlock(
|
return _buildBlock(
|
||||||
child: Obx(() => PageView(
|
child: Obx(() => PageView(
|
||||||
controller: state.value.pageController,
|
controller: state.value.pageController,
|
||||||
|
physics: NeverScrollableScrollPhysics(),
|
||||||
children: state.value.tabs
|
children: state.value.tabs
|
||||||
.map((tab) => tab.page)
|
.map((tab) => tab.page)
|
||||||
.toList(growable: false))));
|
.toList(growable: false))));
|
||||||
|
Loading…
Reference in New Issue
Block a user