File tree Expand file tree Collapse file tree
ui/src/app/sections/effects/equalizers/presets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44 < div class ="button-container " *ngIf ="additionalLeftOption ">
55 < eqm-button
6- size ="square " [height] ="20 " [width] ="20 " [disabled] ="disabled "
6+ size ="square " [height] ="additionalLeftOption.iconSize || 20 " [width] ="additionalLeftOption.iconSize || 20 " [disabled] ="disabled "
77 (pressed) ="additionalLeftOption.action() "
88 [eqmTooltip] ="additionalLeftOption.tooltip ">
99 < eqm-icon [name] ="additionalLeftOption.icon " [width] ="10 " [height] ="10 " [stroke] ="2 "> </ eqm-icon >
3838
3939 < div class ="button-container " *ngIf ="additionalRightOption ">
4040 < eqm-button
41- size ="square " [height] ="20 " [width] ="20 " [disabled] ="disabled "
41+ size ="square " [height] ="additionalRightOption.iconSize || 20 " [width] ="additionalRightOption.iconSize || 20 " [disabled] ="disabled "
4242 (pressed) ="additionalRightOption.action() "
4343 [eqmTooltip] ="additionalRightOption.tooltip ">
4444 < eqm-icon [name] ="additionalRightOption.icon " [width] ="10 " [height] ="10 " [stroke] ="2 "> </ eqm-icon >
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface EqualizerPreset {
1313export interface AdditionalPresetOption {
1414 tooltip : string
1515 icon : IconName
16+ iconSize ?: number
1617 action : ( ) => void | Promise < void >
1718}
1819
You can’t perform that action at this time.
0 commit comments