mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
68 lines
1.6 KiB
JSON
68 lines
1.6 KiB
JSON
{
|
|
"events": [{
|
|
"event": {
|
|
"type": "mousedown",
|
|
"button": 0,
|
|
"shiftKey": false,
|
|
"altKey": false,
|
|
"ctrlKey": false
|
|
},
|
|
"coords": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"type": "mouse-event"
|
|
}, {
|
|
"event": {
|
|
"type": "mouseup",
|
|
"button": 0,
|
|
"shiftKey": false,
|
|
"altKey": false,
|
|
"ctrlKey": false
|
|
},
|
|
"coords": {
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"type": "mouse-event"
|
|
}, {
|
|
"type": "transformtool-event",
|
|
"toolId": "tool-rotate",
|
|
"event": {
|
|
"shiftKey": false,
|
|
"altKey": true,
|
|
"ctrlKey": false
|
|
}
|
|
}, {
|
|
"type": "transformtool-event",
|
|
"toolId": "tool-rotate",
|
|
"event": {
|
|
"shiftKey": false,
|
|
"altKey": true,
|
|
"ctrlKey": false
|
|
}
|
|
}, {
|
|
"type": "keyboard-event",
|
|
"event": {
|
|
"which": 90,
|
|
"shiftKey": false,
|
|
"altKey": false,
|
|
"ctrlKey": true,
|
|
"target": {
|
|
"nodeName": "BODY"
|
|
}
|
|
}
|
|
}],
|
|
"initialState": {
|
|
"size": {
|
|
"width": 2,
|
|
"height": 2
|
|
},
|
|
"primaryColor": "#000000",
|
|
"secondaryColor": "rgba(0, 0, 0, 0)",
|
|
"selectedTool": "tool-pen",
|
|
"step": 100
|
|
},
|
|
"png": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAEElEQVQIW2NkgID/jFAGAwAKIwECc3hvCQAAAABJRU5ErkJggg=="
|
|
}
|