From ab2227d5d96d60b23b0e46f2ef01a91b22e81151 Mon Sep 17 00:00:00 2001 From: c Date: Fri, 12 Jan 2024 11:31:17 -0700 Subject: [PATCH] sbt prePR & Minor change to import statement in ImageData --- api-reports/2_12.txt | 3 ++- api-reports/2_13.txt | 3 ++- dom/src/main/scala/org/scalajs/dom/ImageData.scala | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/api-reports/2_12.txt b/api-reports/2_12.txt index 8a425162..ec001e53 100644 --- a/api-reports/2_12.txt +++ b/api-reports/2_12.txt @@ -15651,9 +15651,10 @@ ImageBitmap[JT] def width: Double ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap] ImageCapture[JC] def takePhoto(): js.Promise[Blob] ImageCapture[JC] val track: MediaStreamTrack -ImageData[JC] def data: js.typedarray.Uint8ClampedArray +ImageData[JC] def data: Uint8ClampedArray ImageData[JC] def height: Int ImageData[JC] def width: Int +ImageSettings[JT] var colorSpace: js.UndefOr[String] InputEvent[JC] def bubbles: Boolean InputEvent[JC] def cancelBubble: Boolean InputEvent[JC] def cancelable: Boolean diff --git a/api-reports/2_13.txt b/api-reports/2_13.txt index 8a425162..ec001e53 100644 --- a/api-reports/2_13.txt +++ b/api-reports/2_13.txt @@ -15651,9 +15651,10 @@ ImageBitmap[JT] def width: Double ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap] ImageCapture[JC] def takePhoto(): js.Promise[Blob] ImageCapture[JC] val track: MediaStreamTrack -ImageData[JC] def data: js.typedarray.Uint8ClampedArray +ImageData[JC] def data: Uint8ClampedArray ImageData[JC] def height: Int ImageData[JC] def width: Int +ImageSettings[JT] var colorSpace: js.UndefOr[String] InputEvent[JC] def bubbles: Boolean InputEvent[JC] def cancelBubble: Boolean InputEvent[JC] def cancelable: Boolean diff --git a/dom/src/main/scala/org/scalajs/dom/ImageData.scala b/dom/src/main/scala/org/scalajs/dom/ImageData.scala index 78c9fcc0..b2ccf295 100644 --- a/dom/src/main/scala/org/scalajs/dom/ImageData.scala +++ b/dom/src/main/scala/org/scalajs/dom/ImageData.scala @@ -8,7 +8,7 @@ package org.scalajs.dom import scala.scalajs.js import scala.scalajs.js.annotation._ -import js.typedarray.Uint8ClampedArray +import scala.scalajs.js.typedarray.Uint8ClampedArray /** The ImageData interface represents the underlying pixel data of an area of a <canvas> element. It is created * using creators on the CanvasRenderingContext2D object associated with the canvas createImageData() and