summaryrefslogtreecommitdiff
path: root/js/api
diff options
context:
space:
mode:
Diffstat (limited to 'js/api')
-rw-r--r--js/api/gallery.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/api/gallery.js b/js/api/gallery.js
index ae50dc9..8cb738b 100644
--- a/js/api/gallery.js
+++ b/js/api/gallery.js
@@ -58,8 +58,8 @@ function run_shader(shader_object){
$("#url").val( shader_object.image_url )
if (new_w && new_h) {
preserve_dimensions = true
- w = new_w
- h = new_h
+ actual_w = w = new_w
+ actual_h = h = new_h
}
load()
}