summaryrefslogtreecommitdiff
path: root/doc/classes/Image.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-19 21:02:13 +0100
committerGitHub <noreply@github.com>2017-11-19 21:02:13 +0100
commit1552dbfb21f005ae7f747b8867f9da553b678b77 (patch)
treed08b82753a8b505cd2286774924bd85324bef271 /doc/classes/Image.xml
parent249c11784acd1c2b206efc2ab408c638bcd01287 (diff)
parent7c3ba6f72bf06755cec0439d8560ca72ef80b780 (diff)
Merge pull request #13001 from capnm/fix_class_docs_inline_markup
Fix the class docs for the rst-syntax errors. [ci skip]
Diffstat (limited to 'doc/classes/Image.xml')
-rw-r--r--doc/classes/Image.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index 4f8da7af9e..b6eb26ce8c 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -377,13 +377,13 @@
</argument>
<description>
Sets the [Color] of the pixel at [code](x, y)[/code] if the image is unlocked. Example:
- [code]
+ [codeblock]
var img = Image.new()
img.lock()
img.set_pixel(x, y, color) # Does not have an effect
img.unlock()
img.set_pixel(x, y, color) # Works
- [/code].
+ [/codeblock]
</description>
</method>
<method name="shrink_x2">