mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
ux: force using 4 * RenderScaling
as resize border size on Windows
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
641098ffb2
commit
af9cf6ba6a
5 changed files with 104 additions and 0 deletions
|
@ -5,6 +5,7 @@ using System.IO;
|
|||
using System.Runtime.Versioning;
|
||||
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
|
||||
namespace SourceGit.Native
|
||||
{
|
||||
|
@ -16,6 +17,11 @@ namespace SourceGit.Native
|
|||
builder.With(new X11PlatformOptions() { EnableIme = true });
|
||||
}
|
||||
|
||||
public void SetupWindow(Window window)
|
||||
{
|
||||
// Do Nothing.
|
||||
}
|
||||
|
||||
public string FindGitExecutable()
|
||||
{
|
||||
return FindExecutable("git");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue