Skip to content
Snippets Groups Projects
Commit 44cddac7 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

add comment to explain the last commit

parent 193c1c38
No related branches found
No related tags found
No related merge requests found
...@@ -3024,6 +3024,9 @@ function gui_image_configure(cid, tag, image_key, tk_anchor) { ...@@ -3024,6 +3024,9 @@ function gui_image_configure(cid, tag, image_key, tk_anchor) {
// Move an image // Move an image
function gui_image_coords(cid, tag, x, y) { function gui_image_coords(cid, tag, x, y) {
// ggee/image accepts a message that can trigger this, meaning
// [loadbang] can end up calling this before the patchwindow exists.
// So we have to check for existence below
if (patchwin[cid]) { if (patchwin[cid]) {
elem_move(get_gobj(cid, tag), x, y); elem_move(get_gobj(cid, tag), x, y);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment