perf: 优化提示元素展示效果

This commit is contained in:
uye
2026-04-12 19:27:29 +08:00
parent f2dcefda54
commit e8d5982b60

View File

@@ -13,6 +13,7 @@
HorizontalAlignment="Left"
VerticalAlignment="Center"
Background="{DynamicResource MouseOverRegionBrushOpacity75}"
Cursor="Help"
DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
MouseEnter="OnMouseEnter"
MouseLeave="OnMouseLeave"
@@ -32,6 +33,7 @@
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
d:Text="?"
FontSize="10"
Foreground="{DynamicResource PrimaryTextBrush}"
Text="{Binding TextBlockText}"