Skip to content

Commit 3f68b8c

Browse files
author
Lan Nguyen Thuy
committed
fix umb-block-scale-handler component can not render
1 parent a61a980 commit 3f68b8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Web.UI.Client/src/packages/block/block-grid/components/block-grid-area-config-entry/block-grid-area-config-entry.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { UmbBlockGridAreaConfigEntryContext } from './block-grid-area-config-ent
22
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
33
import { html, css, customElement, property, state } from '@umbraco-cms/backoffice/external/lit';
44
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/property-editor';
5-
5+
import '../block-scale-handler/block-scale-handler.element.js';
66
/**
77
* @element umb-block-area-config-entry
88
*/
@@ -80,7 +80,7 @@ export class UmbBlockGridAreaConfigEntryElement extends UmbLitElement implements
8080
<uui-icon name="icon-remove"></uui-icon>
8181
</uui-button>
8282
</uui-action-bar>
83-
<umb-block-scale-handler @mouseup=${(e: MouseEvent) => this.#context.scaleManager.onScaleMouseDown(e)}>
83+
<umb-block-scale-handler @mousedown=${(e: MouseEvent) => this.#context.scaleManager.onScaleMouseDown(e)}>
8484
${this._columnSpan}x${this._rowSpan}
8585
</umb-block-scale-handler>
8686
`

0 commit comments

Comments
 (0)