From 7cb12190feb2e69137177409bb483e3d045d32cf Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" Date: Thu, 30 Sep 2021 14:21:54 +0300 Subject: [PATCH] Fix indents Signed-off-by: Hung-Han (Henry) Chen --- src/common/catalog/catalog-entity.ts | 22 +++++++++---------- .../+catalog/catalog-entity-item.tsx | 20 ++++++++--------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/common/catalog/catalog-entity.ts b/src/common/catalog/catalog-entity.ts index a0605a9666..c64147e87e 100644 --- a/src/common/catalog/catalog-entity.ts +++ b/src/common/catalog/catalog-entity.ts @@ -232,20 +232,20 @@ export abstract class CatalogEntity< } /** - * Trigger when user click on the icon in details panel - * - * @remarks - * Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called. - */ + * Trigger when user click on the icon in details panel + * + * @remarks + * Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called. + */ public abstract onRun?(context: CatalogEntityActionContext): void | Promise; public abstract onContextMenuOpen(context: CatalogEntityContextMenuContext): void | Promise; - /** - * Trigger when user click on the icon in details panel - * - * @remarks - * Priority > this.onRun, if presents, onRun won't be called. - */ + /** + * Trigger when user click on the icon in details panel + * + * @remarks + * Priority > this.onRun, if presents, onRun won't be called. + */ public abstract onClickDetailIcon?(context: CatalogEntityActionContext): void; public abstract onSettingsOpen(context: CatalogEntitySettingsContext): void | Promise; } diff --git a/src/renderer/components/+catalog/catalog-entity-item.tsx b/src/renderer/components/+catalog/catalog-entity-item.tsx index 3496928964..22fc290ef6 100644 --- a/src/renderer/components/+catalog/catalog-entity-item.tsx +++ b/src/renderer/components/+catalog/catalog-entity-item.tsx @@ -103,11 +103,11 @@ export class CatalogEntityItem implements ItemObject { } /** - * Trigger when user click on the icon in details panel - * - * @remarks - * Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called. - */ + * Trigger when user click on the icon in details panel + * + * @remarks + * Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called. + */ onRun(ctx: CatalogEntityActionContext) { this.entity.onRun(ctx); } @@ -118,11 +118,11 @@ export class CatalogEntityItem implements ItemObject { } /** - * Trigger when user click on the icon in details panel - * - * @remarks - * Priority > this.onRun, if presents, onRun won't be called. - */ + * Trigger when user click on the icon in details panel + * + * @remarks + * Priority > this.onRun, if presents, onRun won't be called. + */ onClickDetailIcon(ctx: CatalogEntityActionContext) { this.entity.onClickDetailIcon?.(ctx); }