Tap88 / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

Vertical scrolling switching terminals #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I scroll vertically, most time it changes to another Terminal.

Could you add these (taken from jackpal.terminal)
in: line 778 of EmulatorView.java: public boolean onFling(...

         float absVelocityX = Math.abs(velocityX);
         float absVelocityY = Math.abs(velocityY);
         if (absVelocityX > Math.max(1000.0f, 2.0 * absVelocityY))

 instead of:        if (Math.abs(velocityX) > Math.abs(velocityY)) 

Did the job for me. Thanks

Original issue reported on code.google.com by AltMar...@gmail.com on 28 Oct 2012 at 4:45