A web-based drawing app
git clone git://soophie.de/outline
294
}296
function update_device_list() {297
canvas.get_canvas().style.cursor = state.device === 'mouse' ? 'none' : '';297
if(!state.option.view_mode && !state.option.crop_mode) {298
canvas.get_canvas().style.cursor = state.device === 'mouse' ? 'none' : '';299
}300
for(let item of node.device_list) {301
let code = item.dataset.code;302
item.classList[code === state.device ? 'add' : 'remove']('active');