mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
migrate to wpf
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user