Skip to content

Commit 6124584

Browse files
committed
- bugfix
1 parent 6937503 commit 6124584

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/Newton_saddle_3D.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ <h3>Controls</h3>
3939
<div class="controls-grid" style="width: 500px;align:left">
4040
<label>Newton steps</label>
4141
<p style="display:flex;align-items:center;gap:6px">
42-
<button onclick="plot.changeSteps(-1)" type="button">&#8722;</button>
43-
<input type="text" id="textInput" value="1" readonly style="width:36px;text-align:center">
44-
<button onclick="plot.changeSteps(+1)" type="button">&#43;</button>
42+
<button onclick="sim.changeSteps(-1)" style="width:30px;height:30px;font-size:16px;cursor:pointer">&#8722;</button>
43+
<input type="text" id="stepsInput" value="1" readonly style="width:40px;text-align:center">
44+
<button onclick="sim.changeSteps(+1)" style="width:30px;height:30px;font-size:16px;cursor:pointer">&#43;</button>
4545
</p>
4646
<label>x&#x2080;&thinsp;=&thinsp;</label>
4747
<span id="x0Display" style="font-family:monospace;background:#fff;padding:2px 9px;border-radius:6px;border:1px solid #bbb;"></span>

0 commit comments

Comments
 (0)