Compare commits
1
Commits
main
...
scolling-fix
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48174ade62 |
@@ -546,10 +546,12 @@ Guacamole.Mouse.Event = function MouseEvent(type, state, events) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The current mouse state at the time this event was fired.
|
* The current mouse state at the time this event was fired.
|
||||||
|
* The state object is cloned so as not to be affected by subsequent events
|
||||||
|
* that will have their own dedicated Guacamole.Mouse.Event instance.
|
||||||
*
|
*
|
||||||
* @type {!Guacamole.Mouse.State}
|
* @type {!Guacamole.Mouse.State}
|
||||||
*/
|
*/
|
||||||
this.state = state;
|
this.state = { ...state };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
|
|||||||
Reference in new issue
Block a user