Propogated mouse clicks correctly.
This commit is contained in:
1 parent
ce2ec9f442
commit
4e313d9fc5
2 files changed
+3
-2
No files matched your search
@@ -877,7 +877,7 @@ function RootView:on_mouse_pressed(button, x, y, clicks)
|
||||
elseif not self.dragged_node then -- avoid sending on_mouse_pressed events when dragging tabs
|
||||
core.set_active_view(node.active_view)
|
||||
if not self.on_view_mouse_pressed(button, x, y, clicks) then
|
||||
node.active_view:on_mouse_pressed(button, x, y, clicks)
|
||||
return node.active_view:on_mouse_pressed(button, x, y, clicks)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user