2021-01-15 03:50:56 +03:00
|
|
|
new Tool('resizeline', {
|
|
|
|
cursor: 'default',
|
|
|
|
});
|
|
|
|
|
|
|
|
new Tool('pan', {
|
|
|
|
cursor: function () {
|
2021-07-22 16:21:48 +03:00
|
|
|
if (Input.isDragging()) return 'url(\'/pixel-editor/pan-held.png\'), auto';
|
2021-01-15 03:50:56 +03:00
|
|
|
else return 'url(\'/pixel-editor/pan.png\'), auto';
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2021-04-28 23:35:26 +03:00
|
|
|
new Tool('ellipse', {
|
2021-06-30 23:17:08 +03:00
|
|
|
cursor: 'none',
|
2021-04-28 23:35:26 +03:00
|
|
|
brushPreview: true,
|
|
|
|
});
|
2021-01-15 03:50:56 +03:00
|
|
|
new Tool('rectselect', {
|
|
|
|
cursor: 'crosshair',
|
|
|
|
brushPreview: true,
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
new Tool('moveselection', {
|
|
|
|
cursor: 'crosshair',
|
|
|
|
});
|
|
|
|
|
|
|
|
new Tool('zoom', {
|
|
|
|
imageCursor: 'zoom-in',
|
2021-10-27 11:43:51 +03:00
|
|
|
});
|