unfix: overlay scaling issue

This commit is contained in:
Natsumi
2025-12-14 14:11:10 +11:00
parent 684482daaf
commit 3cd68622d3
4 changed files with 10 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ namespace VRCX
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
public OffScreenBrowser(string address, int width, int height, IRequestContext requestContext = null)
public OffScreenBrowser(string address, int width, int height)
: base(address, automaticallyCreateBrowser: false)
{
var windowInfo = new WindowInfo();
@@ -42,7 +42,7 @@ namespace VRCX
WindowlessFrameRate = 60
};
CreateBrowser(windowInfo, browserSettings, requestContext);
CreateBrowser(windowInfo, browserSettings);
Size = new System.Drawing.Size(width, height);
RenderHandler = this;