A web-based drawing app
git clone git://soophie.de/outline
132
active = false;133
}134
if(point_list.length > 0) {135
let { color, radius, pencil } = state;136
state.history.push({137
list: point_list,137
state: Object.assign({}, state)138
state: {139
color,140
radius,141
pencil142
}143
});144
if(state.history.length > MAX_HISTORY_STEP) {145
let line = state.history.shift();