Skip to content

Commit 87aceed

Browse files
committed
contents/en/blog/debugui: typo
1 parent c0f4707 commit 87aceed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contents/en/blog/debugui.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ <h1>DebugUI v0.1.0 Released</h1>
7373
<ul>
7474
<li><code>debugui.DebugUI</code> can be used immediately without explicit initialization.</li>
7575
<li>In your game's <code>Update</code> and <code>Draw</code> functions, call <code>DebugUI</code>'s <code>Update</code> and <code>Draw</code> respectively.</li>
76-
<li><code>DebugUI</code> uses an Immediate Mode API. The function you pass to <code>DebugUI</code>'s <code>Update</code> is executed on every game <code>Update</code>. Widgets that make up the UI—such as windows and buttons—are "recreated" each time by calling the <code>Window</code> or <code>Button</code> functions. While widgets are technically recreated every frame, they are considered the same widgets if they are created from the same location in your code, and their state is preserved.</li>
76+
<li><code>DebugUI</code> uses an Immediate Mode API. The function you pass to <code>DebugUI</code>'s <code>Update</code> is executed on every game <code>Update</code>. Widgets that make up the UI—such as windows and buttons—are "recreated" each time by calling the <code>Window</code> or <code>Button</code> functions. While widgets are technically recreated every tick, they are considered the same widgets if they are created from the same location in your code, and their state is preserved.</li>
7777
<li>The function to be executed when a button is pressed can be specified using the <code>On</code> method on the return value of the <code>Button</code> function. This function is only evaluated when the button is actually pressed.</li>
78-
<li>Windows can be dragged to move them, and their size can be adjusted by dragging the bottom-right corner. As mentioned earlier, windows are recreated each frame via the <code>Window</code> function, but their state is still maintained properly.</li>
78+
<li>Windows can be dragged to move them, and their size can be adjusted by dragging the bottom-right corner. As mentioned earlier, windows are recreated each tick via the <code>Window</code> function, but their state is still maintained properly.</li>
7979
</ul>
8080
<p>For more complex examples, see the <a href="https://github.com/hajimehoshi/ebiten/tree/main/examples/windowsize">Ebitengine samples</a> or the <a href="https://github.com/ebitengine/debugui/tree/main/example">DebugUI examples</a>.</p>
8181
<p>Note that DebugUI is still at version 0, so breaking changes to the API may occur in the future.</p>

0 commit comments

Comments
 (0)