chore: remove underscores from private properties and methods in keyboard nav and rendering (#6975)

* chore: remove underscores in keyboard navigation

* chore: remove private underscores from renderers
This commit is contained in:
Rachel Fenichel
2023-04-12 11:19:41 -07:00
committed by GitHub
parent 8ade26148c
commit 5f8330e74e
13 changed files with 202 additions and 202 deletions

View File

@@ -122,7 +122,7 @@ export class ConstantProvider extends BaseConstantProvider {
/**
* The <filter> element to use for a selected glow, or null if not set.
*/
private selectedGlowFilter_: SVGElement|null = null;
private selectedGlowFilter: SVGElement|null = null;
/**
* The ID of the replacement glow filter, or the empty string if no filter
@@ -133,7 +133,7 @@ export class ConstantProvider extends BaseConstantProvider {
/**
* The <filter> element to use for a replacement glow, or null if not set.
*/
private replacementGlowFilter_: SVGElement|null = null;
private replacementGlowFilter: SVGElement|null = null;
/**
* The object containing information about the hexagon used for a boolean
@@ -270,11 +270,11 @@ export class ConstantProvider extends BaseConstantProvider {
override dispose() {
super.dispose();
if (this.selectedGlowFilter_) {
dom.removeNode(this.selectedGlowFilter_);
if (this.selectedGlowFilter) {
dom.removeNode(this.selectedGlowFilter);
}
if (this.replacementGlowFilter_) {
dom.removeNode(this.replacementGlowFilter_);
if (this.replacementGlowFilter) {
dom.removeNode(this.replacementGlowFilter);
}
}
@@ -673,7 +673,7 @@ export class ConstantProvider extends BaseConstantProvider {
},
selectedGlowFilter);
this.selectedGlowFilterId = selectedGlowFilter.id;
this.selectedGlowFilter_ = selectedGlowFilter;
this.selectedGlowFilter = selectedGlowFilter;
// Using a dilate distorts the block shape.
// Instead use a gaussian blur, and then set all alpha to 1 with a transfer.
@@ -721,7 +721,7 @@ export class ConstantProvider extends BaseConstantProvider {
},
replacementGlowFilter);
this.replacementGlowFilterId = replacementGlowFilter.id;
this.replacementGlowFilter_ = replacementGlowFilter;
this.replacementGlowFilter = replacementGlowFilter;
}
override getCSS_(selector: string) {