mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 08:00:59 +00:00
fix(coding-agent): propagate paddingX to custom editors
setCustomEditorComponent() was not copying the paddingX setting from the default editor to extension-provided editors. Also propagate live changes from the settings callback.
This commit is contained in:
parent
151099e17e
commit
2bbc255237
2 changed files with 9 additions and 0 deletions
|
|
@ -62,4 +62,7 @@ export interface EditorComponent extends Component {
|
|||
|
||||
/** Border color function */
|
||||
borderColor?: (str: string) => string;
|
||||
|
||||
/** Set horizontal padding */
|
||||
setPaddingX?(padding: number): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue