mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
10 lines
195 B
JavaScript
10 lines
195 B
JavaScript
|
|
||
|
new Tool('pan', {
|
||
|
cursor: function () {
|
||
|
if (dragging) return 'url(\'/pixel-editor/pan-held.png\'), auto';
|
||
|
else return 'url(\'/pixel-editor/pan.png\'), auto';
|
||
|
},
|
||
|
});
|
||
|
|
||
|
|
||
|
/*global Tool, tool*/
|