Fix `DocView:on_mouse_released` not considering all parameters
This commit is contained in:
parent
202e42b568
commit
052c140787
|
@ -270,8 +270,8 @@ function DocView:mouse_selection(doc, snap_type, line1, col1, line2, col2)
|
|||
end
|
||||
|
||||
|
||||
function DocView:on_mouse_released(button)
|
||||
DocView.super.on_mouse_released(self, button)
|
||||
function DocView:on_mouse_released(...)
|
||||
DocView.super.on_mouse_released(self, ...)
|
||||
self.mouse_selecting = nil
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue