MCPcopy Create free account
hub / github.com/breck7/scroll / onResize

Function onResize

external/.scrollLibs.js:8962–8968  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

8960 }
8961 // Called when the window resizes
8962 function onResize(cm) {
8963 var d = cm.display
8964 // Might be a text scaling operation, clear size caches.
8965 d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null
8966 d.scrollbarsClipped = false
8967 cm.setSize()
8968 }
8969
8970 var keyNames = {
8971 3: "Pause",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected