* Add TJSHTMLOffscreenCanvas alias

This commit is contained in:
Michael Van Canneyt 2025-03-21 10:06:32 +01:00
parent f771f08f28
commit e7cba1acdc

View File

@ -134,6 +134,7 @@ Type
TJSImageBitmap = BrowserApi.WebOrWorker.TJSImageBitmap; TJSImageBitmap = BrowserApi.WebOrWorker.TJSImageBitmap;
TJSOffscreenCanvasRenderingContext2D = BrowserApi.WebOrWorker.TJSOffscreenCanvasRenderingContext2D; TJSOffscreenCanvasRenderingContext2D = BrowserApi.WebOrWorker.TJSOffscreenCanvasRenderingContext2D;
TJSHTMLOffscreenCanvasElement = BrowserApi.WebOrWorker.TJSHTMLOffscreenCanvas; TJSHTMLOffscreenCanvasElement = BrowserApi.WebOrWorker.TJSHTMLOffscreenCanvas;
TJSHTMLOffscreenCanvas = BrowserApi.WebOrWorker..TJSHTMLOffscreenCanvas;
{$ELSE} {$ELSE}
TJSServiceWorker = weborworker.TJSServiceWorker; TJSServiceWorker = weborworker.TJSServiceWorker;
TJSServiceWorkerRegistration = weborworker.TJSServiceWorkerRegistration; TJSServiceWorkerRegistration = weborworker.TJSServiceWorkerRegistration;
@ -214,6 +215,7 @@ Type
TJSImageBitmap = weborworker.TJSImageBitmap; TJSImageBitmap = weborworker.TJSImageBitmap;
TJSOffscreenCanvasRenderingContext2D = weborworker.TJSOffscreenCanvasRenderingContext2D; TJSOffscreenCanvasRenderingContext2D = weborworker.TJSOffscreenCanvasRenderingContext2D;
TJSHTMLOffscreenCanvasElement = weborworker.TJSHTMLOffscreenCanvas; TJSHTMLOffscreenCanvasElement = weborworker.TJSHTMLOffscreenCanvas;
TJSHTMLOffscreenCanvas = weborworker.TJSHTMLOffscreenCanvas;
{$ENDIF} {$ENDIF}
TJSMessagePortArray = TJSMessagePortDynArray; TJSMessagePortArray = TJSMessagePortDynArray;
TEventListenerEvent = TJSEvent; TEventListenerEvent = TJSEvent;