From 3add44e2f8c343a074a04d1b9a0c33cfaeb3efe3 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.fr>
Date: Wed, 29 Apr 2020 06:35:47 +0000
Subject: [PATCH] v0.2.10.31 CLEAN: moved the triangle matching with the actual
 exchange on the GR2M model diagram of the GUI #14

---
 DESCRIPTION | 2 +-
 NEWS.md     | 2 +-
 R/Utils.R   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 0fc062b..a52e1fc 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
 Package: airGRteaching
 Type: Package
 Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
-Version: 0.2.10.30
+Version: 0.2.10.31
 Date: 2020-04-29
 Authors@R: c(
   person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
diff --git a/NEWS.md b/NEWS.md
index 3a226d0..65ab846 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -4,7 +4,7 @@
 
 
 
-### 0.2.10.30 Release Notes (2020-04-29)
+### 0.2.10.31 Release Notes (2020-04-29)
 
 
 #### New features
diff --git a/R/Utils.R b/R/Utils.R
index 2e737d4..1459b4e 100644
--- a/R/Utils.R
+++ b/R/Utils.R
@@ -796,7 +796,7 @@ if (getRversion() >= "2.15.1") {
            y0 = y_Ech_Q9               , y1 = y_Ech_Q9,
            length = 0.075, angle = 20, code = 3)
     pch <- ifelse(OutputsModel$Exch[i_pdt] < 0, tri_R, tri_L)
-    points(x = xy_min_ROUT[1]+base_res+130, y = y_Ech_Q9,
+    points(x = xy_min_ROUT[1]+base_res+80, y = y_Ech_Q9,
            type = "p", pch = pch, col = col_P,
            cex = cex_tri(OutputsModel$Exch[i_pdt], fact = fact_triangle, max = cex_max_poly))
   }
-- 
GitLab