mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 09:08:37 +00:00
Smooth transition for custom keyboards and softkey
Closes #3786 Fixes #3780 // FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
24e14cbc73
commit
13bad6dfed
@@ -348,4 +348,8 @@ public class Util {
|
||||
public static int clamp(int value, int min, int max) {
|
||||
return Math.min(Math.max(value, min), max);
|
||||
}
|
||||
|
||||
public static float clamp(float value, float min, float max) {
|
||||
return Math.min(Math.max(value, min), max);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user