@node-projects/web-component-designer 0.1.45 → 0.1.46
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.
|
@@ -164,6 +164,7 @@ export class PropertyGridPropertyList extends BaseCustomWebComponentLazyAppend {
|
|
|
164
164
|
rect.style.width = '7px';
|
|
165
165
|
rect.style.height = '7px';
|
|
166
166
|
rect.style.border = '1px white solid';
|
|
167
|
+
rect.style.cursor = 'pointer';
|
|
167
168
|
if (p.propertyType != PropertyType.complex)
|
|
168
169
|
rectContainer.appendChild(rect);
|
|
169
170
|
this._div.appendChild(rectContainer);
|
|
@@ -171,6 +172,10 @@ export class PropertyGridPropertyList extends BaseCustomWebComponentLazyAppend {
|
|
|
171
172
|
event.preventDefault();
|
|
172
173
|
this.openContextMenu(event, p);
|
|
173
174
|
};
|
|
175
|
+
rect.onclick = (event) => {
|
|
176
|
+
event.preventDefault();
|
|
177
|
+
this.openContextMenu(event, p);
|
|
178
|
+
};
|
|
174
179
|
if (p.type == 'addNew') {
|
|
175
180
|
let input = editor.element;
|
|
176
181
|
input.disabled = true;
|