some debug prints
I'm noticing a bug where I click on a node sometimes and the cursor doesn't appear. It's in driver.love, but I can't exclude it might be in this fork as well. Might as well spread debug prints everywhere I might catch this.
This commit is contained in:
parent
cba7183a09
commit
831bd0eb91
|
@ -8,7 +8,9 @@ on.mouse_press = function(x,y, mouse_button)
|
|||
if node then
|
||||
-- position cursor in node
|
||||
Cursor_node = node
|
||||
print('within node')
|
||||
edit.mouse_press(node.editor, x,y, mouse_button)
|
||||
print('cursor at', node.editor.cursor_x, node.editor.cursor_y)
|
||||
return
|
||||
end
|
||||
-- pan surface
|
||||
|
|
Loading…
Reference in New Issue