From 3d3ac5d05cf2851444b835b5bbc0236111f53673 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 2 Jan 2021 13:15:31 +0100 Subject: Update --- state.ml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'state.ml') diff --git a/state.ml b/state.ml index 52fe5a6..5a1ef8f 100755 --- a/state.ml +++ b/state.ml @@ -12,9 +12,6 @@ type mode = | Selection of int | Out -type current = Path.Path_Builder.t - - (** Events *) type canva_events = [ `Click of float * float @@ -41,7 +38,7 @@ type events = type state = { mode : mode ; paths : Path.Fixed.t list - ; current : current + ; current : Path.Path_Builder.t ; width : float ; angle : float } @@ -97,7 +94,7 @@ let update_selection id state f = | false -> path | true -> Path.Fixed.map_point path f ) in - { state with paths} + { state with paths } let do_action : events -> state -> state -- cgit v1.2.3