mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-20 07:21:43 +02:00
fixed a weird React p>ol error when a <p/> preceding <ol/> has an id attribute
This commit is contained in:
@@ -32,11 +32,10 @@ var BoundingBox = React.createClass({
|
|||||||
<section>
|
<section>
|
||||||
<SectionHeader {...this.props} />
|
<SectionHeader {...this.props} />
|
||||||
|
|
||||||
|
|
||||||
<p>If we have the extremities, and the start/end points, a simple for loop that tests for min/max values for
|
<p>If we have the extremities, and the start/end points, a simple for loop that tests for min/max values for
|
||||||
x and y means we have the four values we need to box in our curve:</p>
|
x and y means we have the four values we need to box in our curve:</p>
|
||||||
|
|
||||||
<p id="bounds_p"><i>Computing the bounding box for a Bézier curve</i></p>
|
<p><i>Computing the bounding box for a Bézier curve</i>:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Find all <i>t</i> value(s) for the curve derivative's x- and y-roots.</li>
|
<li>Find all <i>t</i> value(s) for the curve derivative's x- and y-roots.</li>
|
||||||
|
Reference in New Issue
Block a user