mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
remove used code
This commit is contained in:
parent
75f4a581b7
commit
2a38ef15fe
|
@ -205,25 +205,6 @@ export class ActionRunner extends Disposable implements IActionRunner {
|
|||
}
|
||||
}
|
||||
|
||||
export class RadioGroup extends Disposable {
|
||||
|
||||
constructor(readonly actions: Action[]) {
|
||||
super();
|
||||
|
||||
for (const action of actions) {
|
||||
this._register(action.onDidChange(e => {
|
||||
if (e.checked && action.checked) {
|
||||
for (const candidate of actions) {
|
||||
if (candidate !== action) {
|
||||
candidate.checked = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class Separator extends Action {
|
||||
|
||||
static readonly ID = 'vs.actions.separator';
|
||||
|
|
Loading…
Reference in a new issue