Allow intercepting filedropped events
The event is first sent to the underlying `View`; if not handled, it's managed as before.
This commit is contained in:
3 files changed
+23
-10
No files matched your search
@@ -98,6 +98,11 @@ function View:on_mouse_moved(x, y, dx, dy)
|
||||
end
|
||||
|
||||
|
||||
function View:on_file_dropped(filename, x, y)
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
function View:on_text_input(text)
|
||||
-- no-op
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user