MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / applyScale

Method applyScale

static/widgets/fontscale.ts:134–137  ·  view source on GitHub ↗
(scale: number)

Source from the content-addressed store, hash-verified

132 }
133
134 applyScale(scale: number) {
135 this.scale = scale;
136 this.apply();
137 }
138
139 setScale(scale: number) {
140 this.fontSizeList.find('.active').removeClass('active');

Callers 3

setScaleMethod · 0.95
onClickEventFunction · 0.80
makeFontSizeDropdownFunction · 0.80

Calls 1

applyMethod · 0.95

Tested by

no test coverage detected