MCPcopy Create free account
hub / github.com/brookhong/Surfingkeys / decreaseScale

Method decreaseScale

src/pages/pdf_viewer.mjs:12270–12275  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

12268 });
12269 }
12270 decreaseScale(options = {}) {
12271 this.updateScale({
12272 ...options,
12273 steps: -(options.steps ?? 1)
12274 });
12275 }
12276 #updateContainerHeightCss(height = this.container.clientHeight) {
12277 if (height !== this.#previousContainerHeight) {
12278 this.#previousContainerHeight = height;

Callers 1

#updateFromSandboxMethod · 0.80

Calls 1

updateScaleMethod · 0.95

Tested by

no test coverage detected