improve:展台

This commit is contained in:
2026-02-23 13:29:12 +08:00
parent 1ca9fbd023
commit 1fb0ea29a3
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10688,9 +10688,9 @@
<Border x:Name="BoothResolutionTabIndicator"
Background="#66CCFF"
CornerRadius="6"
Width="68" Height="38"
Width="70" Height="38"
HorizontalAlignment="Left" VerticalAlignment="Center"
Margin="1,0,0,0"/>
Margin="0,0,0,0"/>
<Grid>
<Button x:Name="BtnBoothResolution720" Width="70" Height="40" Background="Transparent" BorderThickness="0"
Click="BoothResolutionTab_Click" Tag="1280,720" Cursor="Hand" HorizontalAlignment="Left">
+1 -1
View File
@@ -3414,7 +3414,7 @@ namespace Ink_Canvas
if (BoothResolutionTabIndicator != null)
{
BoothResolutionTabIndicator.Margin = new Thickness(1 + index * 70, 0, 0, 0);
BoothResolutionTabIndicator.Margin = new Thickness(index * 70, 0, 0, 0);
}
var texts = new[] { BtnBoothResolution720?.Content as TextBlock, BtnBoothResolution1080?.Content as TextBlock, BtnBoothResolution2K?.Content as TextBlock, BtnBoothResolution4K?.Content as TextBlock };
@@ -20,7 +20,7 @@ namespace Ink_Canvas
{
public partial class MainWindow : Window
{
private static readonly SolidColorBrush BoothButtonHighlightBrush = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#66CCFF"));
private static readonly SolidColorBrush BoothButtonHighlightBrush = new SolidColorBrush((System.Windows.Media.Color)System.Windows.Media.ColorConverter.ConvertFromString("#66CCFF"));
private bool _boothButtonPressHandlersAttached;
// 标记:用于在保存/恢复白板内容时排除“展台实时上屏”画面