MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / setConfigSize

Function setConfigSize

scripts/magnify_image.js:21–25  ·  view source on GitHub ↗
(width, height)

Source from the content-addressed store, hash-verified

19 return CACHED.configSize;
20};
21const setConfigSize = async (width, height) => {
22 const { Storage } = await import("./helpers/utils.js");
23 CACHED.configSize = [width, height];
24 return Storage.set(MagnifySizeKey, width + "x" + height);
25};
26
27export default {
28 icon: '<i class="fa-solid fa-expand fa-lg fa-bounce"></i>',

Callers 1

magnify_image.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected