diff --git a/rtdata/languages/Francais b/rtdata/languages/Francais index ad7557828..b23b8b289 100644 --- a/rtdata/languages/Francais +++ b/rtdata/languages/Francais @@ -640,7 +640,7 @@ PREFERENCES_OUTDIRTEMPLATE;Utiliser le modèle PREFERENCES_OUTDIRTEMPLATEHINT;Vous pouvez utiliser les paramètres de chaîne formatées suivants:\n%f, %d1, %d2, ..., %p1, %p2, ...\n\nCes paramètres de chaînes formatées se réfèrent aux dossiers et sous-chemins du chemin du fichier RAW.\n\nPar exemple, si /home/tom/image/02-09-2006/dsc0012.nefa été ouvert, la signification des paramètres est:\n%f=dsc0012, %d1=02-09-2006, %d2=image, ...\n%p1=/home/tom/image/02-09-2006, %p2=/home/tom/image, p3=/home/tom, ...\n\nSi vous voulez enregistrer l'image de sortie là où se trouve l'original, écrivez:\n%p1/%f\n\nSi vous voulez enregistrer l'image de sortie dans un dossier 'convertis' situé dans le dossier de l'original, écrivez:\n%p1/convertis/%f\n\nSi vous voulez enregistrer l'image de sortie dans le dossier '/home/tom/convertis' en conservant le même sous-dossier de dates, écrivez:\n%p2/convertis/%d1/%f PREFERENCES_OVERLAY_FILENAMES;Superposer les noms de fichier sur les vignettes PREFERENCES_OVERWRITEOUTPUTFILE;Écraser le fichier s'il existe déjà -PREFERENCES_PANFACTORFRAME;Accélération du déplacement +PREFERENCES_PANFACTORFRAME;Amplification du déplacement PREFERENCES_PANFACTORLABEL;Facteur PREFERENCES_PARSEDEXT;Extensions considérées PREFERENCES_PARSEDEXTADD;Ajout de l'extension diff --git a/rtdata/languages/default b/rtdata/languages/default index 544d816f9..43ce99f05 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -635,7 +635,7 @@ PREFERENCES_OUTDIRTEMPLATE;Use Template PREFERENCES_OUTDIRTEMPLATEHINT;You can use the following formatting strings:\n%f, %d1, %d2, ..., %p1, %p2, ..., %r\n\nThese formatting strings refer to the different parts of the photo's pathname, or some attributes of the photo.\n\n%r will be replaced by the rank of the photo. If the photo is unranked, %r will be replaced by '0'. If the photo is in trash bin, %r will be replaced by 'x'.\n\nFor example, if the photo being processed has the following pathname:\n/home/tom/photos/2010-10-31/dsc0042.nef\nthe meaning of the formatting strings are:\n%d4 = home\n%d3 = tom\n%d2 = photos\n%d1 = 2010-10-31\n%f = dsc0042\n%p1 = /home/tom/photos/2010-10-31/\n%p2 = /home/tom/photos/\n%p3 = /home/tom/\n%p4 = /home/\n\nIf you want to save the output image where the original is, write:\n%p1/%f\n\nIf you want to save the output image in a directory named "converted" located in the directory of the opened image, write:\n%p1/converted/%f\n\nIf you want to save the output image in a directory named "/home/tom/photos/converted/2010-10-31", write:\n%p2/converted/%d1/%f PREFERENCES_OVERLAY_FILENAMES;Overlay filenames on thumbnails PREFERENCES_OVERWRITEOUTPUTFILE;Overwrite existing output files -PREFERENCES_PANFACTORFRAME;Panning acceleration +PREFERENCES_PANFACTORFRAME;Pan rate amplification PREFERENCES_PANFACTORLABEL;Factor PREFERENCES_PARSEDEXT;Parsed Extensions PREFERENCES_PARSEDEXTADD;Add Extension diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index 95411194c..fecf2a9a5 100644 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -380,9 +380,13 @@ void CropWindow::pointerMoved (int x, int y) { iarea->redraw (); } else if (state==SCropImgMove) { - double accel = options.panAccelFactor * zoomSteps[cropZoom].zoom; - action_x = (press_x - x) / zoomSteps[cropZoom].zoom * accel; - action_y = (press_y - y) / zoomSteps[cropZoom].zoom * accel; + // multiplier is the amplification factor ; disabled if the user selected "1" (no amplification) + double factor = options.panAccelFactor == 1 ? 1.0 : options.panAccelFactor * zoomSteps[cropZoom].zoom; + // never move the preview slower than the cursor + if (factor < 1.0) + factor = 1.0; + action_x = (press_x - x) / zoomSteps[cropZoom].zoom * factor; + action_y = (press_y - y) / zoomSteps[cropZoom].zoom * factor; for (std::list::iterator i=listeners.begin(); i!=listeners.end(); i++) (*i)->cropPositionChanged (this); iarea->redraw ();