Skip to main content

to slow down the zooming

2 replies [Last post]
Anonymous

Hello
I want to slow down the zooming
I know how to do it with MouseBehavior
MouseZoom m_zoom = new MouseZoom();
// for example
m_zoom.setFactor(0.01f);

How does it work with KeyNavigatorBehavior?
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Gilson Laurent

Hello

> How does it work with KeyNavigatorBehavior?

The KeyBoardNavi modifies one TransFormGroup (i call it "TG1"). If you place
TG1 into a second TransFormGroup TG2 with scaling set to 0.01 the movments
will be slowed down. But that will also affect the size of any objects in and
below TG1.

(It's easier to reimplement KeyBoardNavi, as KeyBoardNavi is (was ?) buggy as
hell in the 1.3.0 <-> 1.3.1-versions. I'm not sure about 1.3.2 ... )

good luck
cu
[att1.dat]

Anonymous

thank you very much