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

@@ -24,7 +24,7 @@ namespace VRCX
private int _width;
private int _height;
public OffScreenBrowserLegacy(string address, int width, int height, IRequestContext requestContext = null)
public OffScreenBrowserLegacy(string address, int width, int height)
: base(address, automaticallyCreateBrowser: false)
{
_paintBufferLock = new ReaderWriterLockSlim();
@@ -42,7 +42,7 @@ namespace VRCX
WindowlessFrameRate = 24
};
CreateBrowser(windowInfo, browserSettings, requestContext);
CreateBrowser(windowInfo, browserSettings);
Size = new System.Drawing.Size(width, height);
RenderHandler = this;