fix(ui): 修复XAML资源引用错误

问题:
- 使用了不存在的 NavisworksSecondaryTextBrush 资源
- 导致插件加载时 XAML 解析异常崩溃

修复:
- 将 NavisworksSecondaryTextBrush 改为 NavisworksDarkBrush
- 只使用 NavisworksStyles.xaml 中已定义的资源

可用的 Brush 资源:
- NavisworksPrimaryBrush
- NavisworksSecondaryBrush
- NavisworksLightBrush
- NavisworksBackgroundBrush
- NavisworksButtonBrush
- NavisworksTextBrush
- NavisworksDarkBrush

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
tian 2025-10-12 13:56:56 +08:00
parent 6460dda879
commit b0b29c581c

View File

@ -226,7 +226,7 @@ NavisworksTransport 系统管理页签视图 - 采用与其他页签一致的Nav
<TextBlock Text="测试新功能和实验性特性"
FontSize="10"
Foreground="{StaticResource NavisworksSecondaryTextBrush}"
Foreground="{StaticResource NavisworksDarkBrush}"
Margin="0,5,0,10"
TextWrapping="Wrap"/>
@ -238,7 +238,7 @@ NavisworksTransport 系统管理页签视图 - 采用与其他页签一致的Nav
Foreground="{StaticResource NavisworksTextBrush}"/>
<TextBlock Text="选择模型对象后点击测试按钮将创建体素网格并在3D视图中可视化显示"
FontSize="10"
Foreground="{StaticResource NavisworksSecondaryTextBrush}"
Foreground="{StaticResource NavisworksDarkBrush}"
Margin="0,2,0,8"
TextWrapping="Wrap"/>
<Button Content="测试体素网格"