B:BD[
6.99] → [
4.130416:130738]
function Drawing.mouse_released(x,y, button)
if Editor_state.current_drawing_mode == 'move' then
Editor_state.current_drawing_mode = Editor_state.previous_drawing_mode
Editor_state.previous_drawing_mode = nil
if Editor_state.lines.current_drawing then
Editor_state.lines.current_drawing.pending = {}
Editor_state.lines.current_drawing = nil
function Drawing.mouse_released(State, x,y, button)
if State.current_drawing_mode == 'move' then
State.current_drawing_mode = State.previous_drawing_mode
State.previous_drawing_mode = nil
if State.lines.current_drawing then
State.lines.current_drawing.pending = {}
State.lines.current_drawing = nil