修复二级菜单移位
修复二级菜单移位(和优化江陵写的屎山)
This commit is contained in:
+22
-27
@@ -4848,7 +4848,7 @@
|
||||
<Border x:Name="BoardBorderDrawShape" Visibility="Visible"
|
||||
Background="LightGray"
|
||||
Opacity="0.85" BorderBrush="Black" BorderThickness="1" CornerRadius="5"
|
||||
Margin="-147,-286,-89,59">
|
||||
Margin="-147,-286,-89,55">
|
||||
<Viewbox>
|
||||
<ui:SimpleStackPanel Spacing="-8" Orientation="Vertical">
|
||||
<TextBlock FontSize="16"
|
||||
@@ -4968,7 +4968,7 @@
|
||||
<TransformGroup>
|
||||
<ScaleTransform />
|
||||
<SkewTransform />
|
||||
<RotateTransform Angle="90" />
|
||||
<RotateTransform />
|
||||
<TranslateTransform />
|
||||
</TransformGroup>
|
||||
</Image.RenderTransform>
|
||||
@@ -5013,31 +5013,24 @@
|
||||
HorizontalAlignment="Center" FontSize="12" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
|
||||
|
||||
<Border>
|
||||
<!-- Image Insertion Options Panel -->
|
||||
<Border ClipToBounds="True" Name="BoardImageOptionsPanel" Visibility="Collapsed"
|
||||
Margin="-80,-90,-14,33.5"
|
||||
CornerRadius="5" Background="#fafafa" Opacity="1"
|
||||
BorderThickness="1"
|
||||
BorderBrush="#2563eb">
|
||||
<Grid RenderTransformOrigin="0,1" Margin="-133,-172,13,55">
|
||||
<Grid.RenderTransform>
|
||||
<TransformGroup>
|
||||
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
|
||||
<SkewTransform />
|
||||
<RotateTransform />
|
||||
<TranslateTransform />
|
||||
</TransformGroup>
|
||||
</Grid.RenderTransform>
|
||||
<Border Name="BoardImageOptionsPanel" Visibility="Collapsed" ClipToBounds="True" CornerRadius="5" Background="#fafafa" Opacity="1" BorderThickness="1" BorderBrush="#2563eb" Margin="0,76,0,0">
|
||||
<ui:SimpleStackPanel Margin="0">
|
||||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
|
||||
CornerRadius="5,5,0,0" Background="#2563eb"
|
||||
Padding="8,4">
|
||||
<ui:SimpleStackPanel Orientation="Horizontal"
|
||||
HorizontalAlignment="Stretch">
|
||||
<TextBlock Text="选择图片" Foreground="White"
|
||||
FontSize="10" FontWeight="Bold"
|
||||
VerticalAlignment="Center" />
|
||||
<Image Margin="8,0,0,0"
|
||||
Source="/Resources/new-icons/close-white.png"
|
||||
RenderOptions.BitmapScalingMode="HighQuality"
|
||||
Height="12" Width="12"
|
||||
MouseDown="Border_MouseDown"
|
||||
MouseUp="CloseImageOptionsPanel_MouseUp" />
|
||||
</ui:SimpleStackPanel>
|
||||
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" Margin="-1,-1,-1,1" CornerRadius="6,6,0,0" Background="#2563eb">
|
||||
<Canvas Height="24" ClipToBounds="True">
|
||||
<TextBlock Text="选择图片" Foreground="White" Padding="0,5" FontSize="11" FontWeight="Bold" Canvas.Left="8" TextAlignment="Center" />
|
||||
<Image Margin="100,4,0,0" Source="/Resources/new-icons/close-white.png" RenderOptions.BitmapScalingMode="HighQuality" Height="12" Width="12" MouseDown="Border_MouseDown" MouseUp="CloseImageOptionsPanel_MouseUp" />
|
||||
</Canvas>
|
||||
</Border>
|
||||
<ui:SimpleStackPanel Margin="6,4,6,4" Spacing="2">
|
||||
<!-- Screenshot Option -->
|
||||
@@ -5066,7 +5059,7 @@
|
||||
</DrawingImage>
|
||||
</Image.Source>
|
||||
</Image>
|
||||
<TextBlock Text="截图" FontSize="11" FontWeight="SemiBold"
|
||||
<TextBlock Text="截图" FontSize="10"
|
||||
Foreground="#1f2937" VerticalAlignment="Center"/>
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
@@ -5096,13 +5089,15 @@
|
||||
</DrawingImage>
|
||||
</Image.Source>
|
||||
</Image>
|
||||
<TextBlock Text="选择图片" FontSize="11" FontWeight="SemiBold"
|
||||
<TextBlock Text="选择图片" FontSize="10"
|
||||
Foreground="#1f2937" VerticalAlignment="Center"/>
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
</ui:SimpleStackPanel>
|
||||
</ui:SimpleStackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border x:Name="BoardUndo" Width="60" Height="50" MouseDown="Border_MouseDown"
|
||||
MouseUp="SymbolIconUndo_MouseUp" BorderThickness="0,1,0,1"
|
||||
BorderBrush="#a1a1aa"
|
||||
|
||||
Reference in New Issue
Block a user