mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Issue #533: drawing tests, fix keyboard event replay on osx
This commit is contained in:
parent
a2d5e6ff04
commit
e9ef6eb5b3
@ -121,8 +121,8 @@
|
||||
|
||||
ns.DrawingTestPlayer.prototype.playKeyboardEvent_ = function (recordEvent) {
|
||||
var event = recordEvent.event;
|
||||
if (pskl.utils.UserAgent.isMac && event.ctrlKey) {
|
||||
event.metaKey = true;
|
||||
if (pskl.utils.UserAgent.isMac) {
|
||||
event.metaKey = event.ctrlKey;
|
||||
}
|
||||
|
||||
event.preventDefault = function () {};
|
||||
|
Loading…
Reference in New Issue
Block a user