mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: update the mouse click callback to pass what mouse button was clicked too (#10225)
This commit is contained in:
@@ -125,3 +125,10 @@ pub enum KeyCode {
|
||||
right_super = 347
|
||||
menu = 348
|
||||
}
|
||||
|
||||
pub enum MouseButton {
|
||||
left = 0
|
||||
right = 1
|
||||
middle = 2
|
||||
invalid = 256
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user