From 8f049662edd79696e12a020e2ac2e7abf74362d6 Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Tue, 23 Jul 2024 00:08:09 +0300 Subject: [PATCH] Update action.ts --- src/actions/action.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/action.ts b/src/actions/action.ts index cc849d20b2..f88d3bd3fc 100644 --- a/src/actions/action.ts +++ b/src/actions/action.ts @@ -303,7 +303,7 @@ export abstract class BaseAction extends Base implements IAction { return this.enabled !== undefined && !this.enabled; } public get canShrink() { - return !!this.iconName; + return !this.disableShrink && !!this.iconName; } public get hasTitle(): boolean { return ( @@ -610,4 +610,4 @@ export class ActionDropdownViewModel { public dispose(): void { this.removePopupCallbacks(); } -} \ No newline at end of file +}