From 024c4f14a14e67f15adbcca39c6a941ea89e0f3d Mon Sep 17 00:00:00 2001 From: Sergei ZH Date: Sun, 26 Nov 2017 16:42:29 +0100 Subject: Fixing mistake in image class --- doc/classes/Image.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 4e905445ed..83c1bad8e3 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -376,12 +376,12 @@ - Sets the [Color] of the pixel at [code](x, y)[/code] if the image is unlocked. Example: + Sets the [Color] of the pixel at [code](x, y)[/code] if the image is locked. Example: [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) # Does not have an effect + img.lock() img.set_pixel(x, y, color) # Works [/codeblock] -- cgit v1.2.3