Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Hide scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure99 committed Apr 29, 2021
1 parent c70eca4 commit 4a05054
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Core/WebBrowserZoomInvoker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace GenshinPlayerQuery.Core
{
internal static class WebBrowserZoomInvoker
{
private const string EMPTY_HTML = @"<html><head></head><body></body></html>";
private const string EMPTY_HTML = @"<html><head><style>body {overflow: hidden;}</style></head><body></body></html>";

private const int LOG_PIXELS_X = 88;
private const int LOG_PIXELS_Y = 90;
Expand Down
4 changes: 2 additions & 2 deletions src/View/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<WebBrowser Name="WebBrowserMain" HorizontalAlignment="Left" Margin="10,58,10,0" VerticalAlignment="Top"
Navigating="WebBrowserMain_Navigating" />

<TextBlock HorizontalAlignment="Right" Margin="0,10,25,0" TextWrapping="Wrap" VerticalAlignment="Top">
<TextBlock HorizontalAlignment="Right" Margin="0,10,10,0" TextWrapping="Wrap" VerticalAlignment="Top">
<Hyperlink Name="HyperlinkProjectAddress" NavigateUri="https://github.com/Azure99/GenshinPlayerQuery"
RequestNavigate="HyperlinkProjectAddress_RequestNavigate">
项目地址
</Hyperlink>
</TextBlock>
<TextBlock HorizontalAlignment="Right" Margin="0,28,25,0" TextWrapping="Wrap" VerticalAlignment="Top">
<TextBlock HorizontalAlignment="Right" Margin="0,28,10,0" TextWrapping="Wrap" VerticalAlignment="Top">
<Hyperlink Name="HyperlinkByAzure99" NavigateUri="https://github.com/Azure99"
RequestNavigate="HyperlinkByAzure99_RequestNavigate">
By Azure99
Expand Down

0 comments on commit 4a05054

Please sign in to comment.