2017-09-06 01:21:51 +03:00
|
|
|
{
|
|
|
|
"events": [
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 3,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 3,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "tool-event",
|
|
|
|
"toolId": "tool-rectangle-select"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 83,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 3,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 3,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 67,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "clipboard-event",
|
|
|
|
"event": {
|
|
|
|
"type": "CLIPBOARD_COPY"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 2
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 86,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "clipboard-event",
|
|
|
|
"event": {
|
|
|
|
"type": "CLIPBOARD_PASTE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "keyup",
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": null,
|
|
|
|
"y": null
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "keyup",
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": null,
|
|
|
|
"y": null
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 2
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 2
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 2
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 86,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "clipboard-event",
|
|
|
|
"event": {
|
|
|
|
"type": "CLIPBOARD_PASTE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 67,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "clipboard-event",
|
|
|
|
"event": {
|
|
|
|
"type": "CLIPBOARD_COPY"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 1,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 3,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 2,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 86,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "clipboard-event",
|
|
|
|
"event": {
|
|
|
|
"type": "CLIPBOARD_PASTE"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"initialState": {
|
|
|
|
"size": {
|
|
|
|
"width": 4,
|
|
|
|
"height": 4
|
|
|
|
},
|
|
|
|
"primaryColor": "rgb(125, 205, 238)",
|
|
|
|
"secondaryColor": "rgba(0, 0, 0, 0)",
|
|
|
|
"selectedTool": "tool-pen"
|
|
|
|
},
|
|
|
|
"png": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAF0lEQVQIW2OsPfvuPwMSYCQsgKwcxAYA0kUJqtGbV5YAAAAASUVORK5CYII="
|
|
|
|
}
|