eserte / perl-tk

the perl module Tk
https://metacpan.org/release/Tk
Other
44 stars 31 forks source link

doc glitch Tk::Canvas scanDragto #76

Open hvds opened 3 years ago

hvds commented 3 years ago

metacpan says:

$canvas->scanDragto(x, y, ?gain?.)

This method computes the difference between its x and y arguments (which are typically mouse coordinates) and the x and y arguments to the last scanMark method for the widget. It then adjusts the view by 10 times the difference in coordinates. This method is typically associated It then adjusts the view by gain times the difference in coordinates, where gain defaults to 10. This command is typically associated with mouse motion events in the widget, to produce the effect of dragging the canvas at high speed through its window. The return value is an empty string.

There seems to be duplication of the text "It then adjusts the view by 10 times the difference in coordinates. This method is typically associated ". I don't see such a duplication in the TCL docs, maybe a copy/paste issue?