aboutsummaryrefslogtreecommitdiff
path: root/src/MTools
diff options
context:
space:
mode:
authorsaal2007-09-04 10:11:09 +0000
committersaal2007-09-04 10:11:09 +0000
commitae0835f7caea926274e0b53f6425bbe3baae8eb3 (patch)
tree49a58926b14c8a10a813fc231a5ad71bc8261147 /src/MTools
parentc027f631d7abeac48b9a99b982a842d45d7749b1 (diff)
downloadmtc-ae0835f7caea926274e0b53f6425bbe3baae8eb3.zip
mtc-ae0835f7caea926274e0b53f6425bbe3baae8eb3.tar.gz
mtc-ae0835f7caea926274e0b53f6425bbe3baae8eb3.tar.bz2
mtc-ae0835f7caea926274e0b53f6425bbe3baae8eb3.tar.xz
raise de la curve lors d'un pressed, on a ainsi le dessin de la courbe au dessus de tout le reste
Diffstat (limited to 'src/MTools')
-rw-r--r--src/MTools/Comp/MReconizer.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MTools/Comp/MReconizer.pm b/src/MTools/Comp/MReconizer.pm
index 8792295..b3238d4 100644
--- a/src/MTools/Comp/MReconizer.pm
+++ b/src/MTools/Comp/MReconizer.pm
@@ -107,6 +107,7 @@ sub __clear () {
sub __pressed {
my ($self, $x, $y) = @_;
+ raise($self -> {__dessin});
($x, $y) = $zinc -> transform('device', minstance ($self -> {__dessin}), [$x, $y]);
if (defined $self -> {__dessin})
{