mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Activate click hats on mouse up to match 2.0
This commit is contained in:
parent
a4578ba086
commit
11e28111c5
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ Mouse.prototype.postData = function (data) {
|
|||
}
|
||||
if (typeof data.isDown !== 'undefined') {
|
||||
this._isDown = data.isDown;
|
||||
if (this._isDown) {
|
||||
if (!this._isDown) {
|
||||
this._activateClickHats(data.x, data.y);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue