Merge pull request #11996 from maxunbearable/fix/4885-rpc-terminal-force-insert
Fixed RPC debug terminal widget force focus
This commit is contained in:
commit
bc9c1820d7
@ -213,8 +213,8 @@ export class WidgetContainerComponent extends PageComponent implements OnInit, O
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onClicked(event: MouseEvent) {
|
onClicked(event: MouseEvent): void {
|
||||||
if (event) {
|
if (event && this.isEdit) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
this.widgetComponentAction.emit({
|
this.widgetComponentAction.emit({
|
||||||
@ -223,8 +223,8 @@ export class WidgetContainerComponent extends PageComponent implements OnInit, O
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onContextMenu(event: TbContextMenuEvent) {
|
onContextMenu(event: TbContextMenuEvent): void {
|
||||||
if (event) {
|
if (event && this.isEdit) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
this.widgetComponentAction.emit({
|
this.widgetComponentAction.emit({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user