Revert "migrate to wpf"

This reverts commit 97a4dbf4d3.

# Conflicts:
#	MainWindow.xaml.cs
#	html/src/index.pug
This commit is contained in:
pypy
2021-03-08 20:58:56 +09:00
parent 395cb6c8a0
commit 291169fce0
13 changed files with 1886 additions and 2380 deletions

View File

@@ -1,5 +1,5 @@
using CefSharp;
using CefSharp.Wpf;
using CefSharp.WinForms;
using System;
using System.IO;
@@ -16,8 +16,6 @@ namespace VRCX
internal void Init()
{
AppContext.SetSwitch("Switch.System.Windows.Input.Stylus.EnablePointerSupport", true);
var cefSettings = new CefSettings
{
CachePath = Path.Combine(Program.BaseDirectory, "cache"),
@@ -36,7 +34,6 @@ 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");