mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
fix.修智教hub组件
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
@@ -375,6 +375,18 @@ public partial class MainWindow
|
||||
UpdateDesktopPageAwareComponentContext();
|
||||
}
|
||||
|
||||
public void ForceDesktopPageToFirst()
|
||||
{
|
||||
if (_currentDesktopSurfaceIndex == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_currentDesktopSurfaceIndex = 0;
|
||||
ApplyDesktopSurfaceOffset();
|
||||
SchedulePersistSettings(delayMs: 120);
|
||||
}
|
||||
|
||||
private void SetDesktopPagesHostSnapAnimationEnabled(bool enabled)
|
||||
{
|
||||
if (_desktopPagesHostTransform is null)
|
||||
|
||||
Reference in New Issue
Block a user