mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
set fallback
This commit is contained in:
@@ -65,6 +65,9 @@ class Decoration extends Disposable implements IInternalDecoration {
|
||||
) {
|
||||
super();
|
||||
this.marker = options.marker;
|
||||
if (this.options.overviewRulerOptions && !this.options.overviewRulerOptions.position) {
|
||||
this.options.overviewRulerOptions.position = 'full';
|
||||
}
|
||||
}
|
||||
public override dispose(): void {
|
||||
this._onDispose.fire();
|
||||
|
||||
Vendored
+1
-1
@@ -479,7 +479,7 @@ declare module 'xterm' {
|
||||
* @param color The color of the decoration.
|
||||
* @param position The position of the decoration.
|
||||
*/
|
||||
readonly overviewRulerOptions?: { color: string; position: 'left' | 'center' | 'right' | 'full'}
|
||||
readonly overviewRulerOptions?: { color: string; position?: 'left' | 'center' | 'right' | 'full'}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user