Spaces:
Running
Running
thibaud frere commited on
Commit ·
929af42
1
Parent(s): 0ec257a
fix shape overflow
Browse filesFiles changed (2)
329 unmodified lines330331332333334335336337338339340341329 unmodified lines}} catch {}// Update clip rect to match inner plotting area (coords local to gRoot)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);xScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);329 unmodified lines330331332333334335336337338339340341342343329 unmodified lines}} catch {}// Update clip rect to match inner plotting area with padding so// first/last markers are not clipped at the edgesconst clipPad = Math.max(6, Math.ceil(markerSize * 2));clipRect.attr('x', -clipPad).attr('y', -clipPad).attr('width', innerWidth + clipPad * 2).attr('height', innerHeight + clipPad * 2);xScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);
319 unmodified lines320321322323324325326327328329330331319 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Update clip rect to match inner plotting area (coords of gRoot after translate)clipRect.attr('x', 0).attr('y', 0).attr('width', innerWidth).attr('height', innerHeight);// Compute Y tickslet yTicks = [];319 unmodified lines320321322323324325326327328329330331332319 unmodified linesxScale.range([0, innerWidth]);yScale.range([innerHeight, 0]);// Update clip rect with padding so edge markers are not clippedconst clipPad = Math.max(6, Math.ceil(markerSize * 2));clipRect.attr('x', -clipPad).attr('y', -clipPad).attr('width', innerWidth + clipPad * 2).attr('height', innerHeight + clipPad * 2);// Compute Y tickslet yTicks = [];
app/src/content/embeds/against-baselines-deduplicated.html+7-5
app/src/content/embeds/against-baselines.html+6-5