Revert "feat: 添加白板模式自动全屏功能"
This commit is contained in:
@@ -2246,19 +2246,6 @@
|
|||||||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
||||||
Text="# 避免画布全屏,重启icc后生效。" />
|
Text="# 避免画布全屏,重启icc后生效。" />
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
||||||
<TextBlock Foreground="#fafafa" Text="白板模式自动全屏" VerticalAlignment="Center"
|
|
||||||
FontSize="14" Margin="0,0,16,0" />
|
|
||||||
<Border Background="#27272a" CornerRadius="4" Padding="6,2">
|
|
||||||
<TextBlock Foreground="#a1a1aa" Text="需启用避免全屏助手" FontSize="11" />
|
|
||||||
</Border>
|
|
||||||
<ui:ToggleSwitch OnContent="" OffContent=""
|
|
||||||
Name="ToggleSwitchIsEnableAvoidFullScreenHelperForWhiteboard"
|
|
||||||
Toggled="ToggleSwitchIsEnableAvoidFullScreenHelperForWhiteboard_OnToggled"
|
|
||||||
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
|
|
||||||
</ui:SimpleStackPanel>
|
|
||||||
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
|
|
||||||
Text="# 进入白板模式时自动全屏,退出时恢复到工作区域大小。" />
|
|
||||||
<ui:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
|
|
||||||
|
|
||||||
<TextBlock Foreground="#fafafa" Text="启用EdgeGestureUtil"
|
<TextBlock Foreground="#fafafa" Text="启用EdgeGestureUtil"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
|
|||||||
@@ -2182,7 +2182,6 @@ namespace Ink_Canvas
|
|||||||
Settings.Advanced.EdgeGestureUtilOnlyAffectBlackboardMode = false;
|
Settings.Advanced.EdgeGestureUtilOnlyAffectBlackboardMode = false;
|
||||||
Settings.Advanced.IsEnableFullScreenHelper = false;
|
Settings.Advanced.IsEnableFullScreenHelper = false;
|
||||||
Settings.Advanced.IsEnableAvoidFullScreenHelper = false;
|
Settings.Advanced.IsEnableAvoidFullScreenHelper = false;
|
||||||
Settings.Advanced.IsEnableAvoidFullScreenHelperForWhiteboard = false;
|
|
||||||
Settings.Advanced.IsEnableForceFullScreen = false;
|
Settings.Advanced.IsEnableForceFullScreen = false;
|
||||||
Settings.Advanced.IsEnableDPIChangeDetection = false;
|
Settings.Advanced.IsEnableDPIChangeDetection = false;
|
||||||
Settings.Advanced.IsEnableResolutionChangeDetection = false;
|
Settings.Advanced.IsEnableResolutionChangeDetection = false;
|
||||||
@@ -2443,13 +2442,6 @@ namespace Ink_Canvas
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ToggleSwitchIsEnableAvoidFullScreenHelperForWhiteboard_OnToggled(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (!isLoaded) return;
|
|
||||||
Settings.Advanced.IsEnableAvoidFullScreenHelperForWhiteboard = ToggleSwitchIsEnableAvoidFullScreenHelperForWhiteboard.IsOn;
|
|
||||||
SaveSettingsToFile();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ToggleSwitchIsEnableEdgeGestureUtil_Toggled(object sender, RoutedEventArgs e)
|
private void ToggleSwitchIsEnableEdgeGestureUtil_Toggled(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (!isLoaded) return;
|
if (!isLoaded) return;
|
||||||
|
|||||||
@@ -805,7 +805,6 @@ namespace Ink_Canvas
|
|||||||
ToggleSwitchIsEnableResolutionChangeDetection.IsOn = Settings.Advanced.IsEnableResolutionChangeDetection;
|
ToggleSwitchIsEnableResolutionChangeDetection.IsOn = Settings.Advanced.IsEnableResolutionChangeDetection;
|
||||||
ToggleSwitchIsEnableDPIChangeDetection.IsOn = Settings.Advanced.IsEnableDPIChangeDetection;
|
ToggleSwitchIsEnableDPIChangeDetection.IsOn = Settings.Advanced.IsEnableDPIChangeDetection;
|
||||||
ToggleSwitchIsEnableAvoidFullScreenHelper.IsOn = Settings.Advanced.IsEnableAvoidFullScreenHelper;
|
ToggleSwitchIsEnableAvoidFullScreenHelper.IsOn = Settings.Advanced.IsEnableAvoidFullScreenHelper;
|
||||||
ToggleSwitchIsEnableAvoidFullScreenHelperForWhiteboard.IsOn = Settings.Advanced.IsEnableAvoidFullScreenHelperForWhiteboard;
|
|
||||||
ToggleSwitchIsAutoBackupBeforeUpdate.IsOn = Settings.Advanced.IsAutoBackupBeforeUpdate;
|
ToggleSwitchIsAutoBackupBeforeUpdate.IsOn = Settings.Advanced.IsAutoBackupBeforeUpdate;
|
||||||
ToggleSwitchIsAutoBackupEnabled.IsOn = Settings.Advanced.IsAutoBackupEnabled;
|
ToggleSwitchIsAutoBackupEnabled.IsOn = Settings.Advanced.IsAutoBackupEnabled;
|
||||||
|
|
||||||
|
|||||||
@@ -582,9 +582,6 @@ namespace Ink_Canvas
|
|||||||
[JsonProperty("isEnableAvoidFullScreenHelper")]
|
[JsonProperty("isEnableAvoidFullScreenHelper")]
|
||||||
public bool IsEnableAvoidFullScreenHelper { get; set; }
|
public bool IsEnableAvoidFullScreenHelper { get; set; }
|
||||||
|
|
||||||
[JsonProperty("isEnableAvoidFullScreenHelperForWhiteboard")]
|
|
||||||
public bool IsEnableAvoidFullScreenHelperForWhiteboard { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("isAutoBackupBeforeUpdate")]
|
[JsonProperty("isAutoBackupBeforeUpdate")]
|
||||||
public bool IsAutoBackupBeforeUpdate { get; set; } = true;
|
public bool IsAutoBackupBeforeUpdate { get; set; } = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user