Skip to content

Commit 4e1c76b

Browse files
committed
Fix texture-edges templateList
1 parent 09b8a57 commit 4e1c76b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

functions/Drawing/dxSetTextureEdge.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ client:
77
description: The affected texture.
88
- name: textureEdge
99
type: string
10-
description: The texture edge mode. Available modes are `wrap, mirror, clamp, border,
11-
mirror-once`.
10+
description: The texture edge mode.
11+
templateList: texture-edges
1212
- name: border-color
1313
type: int
1414
description: If **textureEdge** is set to `border`, you are able to define a border color here.
15-
default: nil
15+
default: '0'
1616
examples:
1717
- path: examples/dxSetTextureEdge-1.lua
1818
description: The following example draws the image ingame.

web/src/components/TemplateList.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ const lists: Record<string, { id: number | string; label?: string }[]> = {
216216
{id: 'wrap', label: 'Wrap the texture at the edges (default).'},
217217
{id: 'clamp', label: 'Clamp the texture at the edges. This may help avoid edge artifacts.'},
218218
{id: 'mirror', label: 'Mirror the texture at the edges.'},
219+
{id: 'border', label: ''},
220+
{id: 'mirror-once', label: ''},
219221
],
220222
221223
'texture-types': [

0 commit comments

Comments
 (0)