From 62001dd8b96edd003b507c363de33f35767d7ea0 Mon Sep 17 00:00:00 2001 From: tsv2013 Date: Tue, 23 Jul 2024 00:54:11 +0300 Subject: [PATCH] Update action.ts (#8601) --- 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 +}