1.5.7
Profile memory Comment cleanup
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// ════════════════════════════════════════════════════════════════════════
|
||||
// lens-overlay.js — Returns an SVG string for the event overlay inside
|
||||
// ------------------------------------------------------------------------
|
||||
// lens-overlay.js - Returns an SVG string for the event overlay inside
|
||||
// the big ScopeReticle.
|
||||
//
|
||||
// Rendered INSIDE the lens clip path, BELOW the glass shine/shade layers.
|
||||
// cx, cy = lens centre coords; lensR = lens radius.
|
||||
//
|
||||
// To add a new overlay for an event: add another `if (...)` block below
|
||||
// To add a new overlay for an event: add another 'if (...)' block below
|
||||
// that matches by event.emoji or event.id and returns an SVG fragment
|
||||
// string. Return null when no overlay applies.
|
||||
// ════════════════════════════════════════════════════════════════════════
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
export function getLensOverlaySVG(event, cx, cy, lensR) {
|
||||
if (!event) return null;
|
||||
|
||||
Reference in New Issue
Block a user