migrate to wpf

This commit is contained in:
pypy
2021-02-05 03:16:36 +09:00
parent 17d8811790
commit 97a4dbf4d3
13 changed files with 2211 additions and 1718 deletions

View File

@@ -1,5 +1,5 @@
using CefSharp;
using CefSharp.WinForms;
using CefSharp.Wpf;
using System;
using System.IO;
@@ -16,6 +16,8 @@ namespace VRCX
internal void Init()
{
AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.EnablePointerSupport", true);
var cefSettings = new CefSettings
{
CachePath = Path.Combine(Program.BaseDirectory, "cache"),
@@ -34,6 +36,7 @@ namespace VRCX
SchemeHandlerFactory = new FolderSchemeHandlerFactory(Application.StartupPath + "/../../../html")
});*/
cefSettings.CefCommandLineArgs.Add("disable-threaded-scrolling");
cefSettings.CefCommandLineArgs.Add("ignore-certificate-errors");
cefSettings.CefCommandLineArgs.Add("disable-plugins");
cefSettings.CefCommandLineArgs.Add("disable-spell-checking");