MCPcopy Create free account
hub / github.com/error311/FileRise / getMaxImageHeight

Function getMaxImageHeight

public/js/fileListView.js:7972–7975  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7970
7971// A helper to compute the max image height based on the current column count.
7972function getMaxImageHeight() {
7973 const columns = parseInt(window.galleryColumns || 3, 10);
7974 return 150 * (7 - columns);
7975}
7976
7977export function renderGalleryView(folder, container) {
7978 clearInlineRenameState({ restore: false });

Callers 2

applyGalleryColumnsFunction · 0.85
renderGalleryViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected