public override void OnRelease(Vector2 pos) { base.OnRelease(pos); float dif = targetDrag - finalDragPos; targetDrag = JabMath.RoundToNearest(targetDrag * BaseGame.Get.BackBufferWidth + dif * 1400 * ScaleFactor, (int)(BaseGame.Get.BackBufferWidth)) / BaseGame.Get.BackBufferWidth; pressingDown = false; finalDragPos = targetDrag; }