Fix `DocView:on_mouse_released` not considering all parameters

This commit is contained in:
Guldoman 2022-04-12 02:38:30 +02:00
parent 202e42b568
commit 052c140787
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
1 changed files with 2 additions and 2 deletions

View File

@ -270,8 +270,8 @@ function DocView:mouse_selection(doc, snap_type, line1, col1, line2, col2)
end end
function DocView:on_mouse_released(button) function DocView:on_mouse_released(...)
DocView.super.on_mouse_released(self, button) DocView.super.on_mouse_released(self, ...)
self.mouse_selecting = nil self.mouse_selecting = nil
end end