mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-15 09:17:13 +08:00
ui opt
This commit is contained in:
@@ -77,11 +77,9 @@
|
||||
|
||||
<!-- 分割 -->
|
||||
<ui:FontIcon Grid.Column="1"
|
||||
HorizontalAlignment="Center"
|
||||
FontFamily="Segoe Fluent Icons"
|
||||
Glyph="" />
|
||||
HorizontalAlignment="Center" Glyph="" Style="{StaticResource FaFontIconStyle}" />
|
||||
<GridSplitter Grid.Column="1"
|
||||
Width="16"
|
||||
Width="12"
|
||||
HorizontalAlignment="Stretch"
|
||||
Background="{DynamicResource ControlStrongFillColorDisabledBrush}"
|
||||
Focusable="False"
|
||||
@@ -89,7 +87,7 @@
|
||||
|
||||
<!-- 右侧栏:无选中组 -->
|
||||
<Border Grid.Column="2"
|
||||
Margin="8"
|
||||
Margin="6"
|
||||
Background="{ui:ThemeResource CardBackgroundFillColorDefaultBrush}"
|
||||
BorderBrush="{ui:ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1,1,1,1"
|
||||
@@ -142,7 +140,7 @@
|
||||
|
||||
<!-- 右侧栏:选中组 -->
|
||||
<Border Grid.Column="2"
|
||||
Margin="8"
|
||||
Margin="6"
|
||||
Background="{ui:ThemeResource CardBackgroundFillColorDefaultBrush}"
|
||||
BorderBrush="{ui:ThemeResource CardStrokeColorDefaultBrush}"
|
||||
BorderThickness="1,1,1,1"
|
||||
|
||||
@@ -81,11 +81,11 @@ public partial class MainWindowViewModel : ObservableObject, IViewModel
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
_logger.LogError("PaddleOcr预热异常:" + e.Source + "\r\n--" + Environment.NewLine + e.StackTrace + "\r\n---" + Environment.NewLine + e.Message);
|
||||
_logger.LogError("PaddleOcr预热异常,解决方案:https://bgi.huiyadan.com/faq.html:" + e.Source + "\r\n--" + Environment.NewLine + e.StackTrace + "\r\n---" + Environment.NewLine + e.Message);
|
||||
var innerException = e.InnerException;
|
||||
if (innerException != null)
|
||||
{
|
||||
_logger.LogError("PaddleOcr预热内部异常:" + innerException.Source + "\r\n--" + Environment.NewLine + innerException.StackTrace + "\r\n---" + Environment.NewLine + innerException.Message);
|
||||
_logger.LogError("PaddleOcr预热内部异常,解决方案:https://bgi.huiyadan.com/faq.html:" + innerException.Source + "\r\n--" + Environment.NewLine + innerException.StackTrace + "\r\n---" + Environment.NewLine + innerException.Message);
|
||||
throw innerException;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user