XML Feeds

.

[javascript-dev] Re: Re: Re: screentoworld misunderstanding

Emmanuel Jourdan c74-mailinglists at e--j.com
Fri Nov 9 15:19:27 MST 2007


On 9 nov. 07, at 23:12, gusanomaxlist wrote:

> Thanx Emmanuel, but I still don't get it.
> With this:
>
> if (shift) {
> dx = 0.2;
> f = v - dx; ...
>
> I just have a left offset from my mouse, and no "fine tuning".
> Any idea ?

I suggested that:

	dx = v - last_x; //(last_x is initiated with 0)

	// if shift is down, reduce the dx to have "fine tuning
	if (shift)
		dx *= 0.2; // means dx = dx * 0.2

	f = v - dx;

If that doesn't work, please provide the all jsui.
ej


More information about the javascript-dev mailing list