laymur 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5763,7 +5763,7 @@ class UIGraphics extends UIElement {
5763
5763
  */
5764
5764
  constructor(layer, options) {
5765
5765
  const w = options?.width ?? DUMMY_DEFAULT_WIDTH;
5766
- const h = options?.width ?? DUMMY_DEFAULT_HEIGHT;
5766
+ const h = options?.height ?? DUMMY_DEFAULT_HEIGHT;
5767
5767
  const color = new UIColor(options?.color);
5768
5768
  const canvas = new OffscreenCanvas(w, h);
5769
5769
  const context = canvas.getContext("2d");