Compare commits

..

1 Commits

Author SHA1 Message Date
x7z4w
f60394f171 [drape] Adjust double- and long-tap delays
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-12-29 23:06:01 +07:00
3 changed files with 11 additions and 8 deletions

View File

@@ -66,4 +66,13 @@
</declare-styleable>
<attr name="accentColorSelector" format="color"/>
<attr name="bookingFilterTitleColor" format="color"/>
<attr name="adsRemovalOptionsBg" format="reference"/>
<attr name="adsRemovalOptionsDivider" format="color"/>
<attr name="icClearRounded" format="reference"/>
<attr name="bookmarkSubscriptionScreenBg" format="reference"/>
<attr name="bookmarkSubscriptionCardEdge" format="reference"/>
<attr name="bookmarkSubscriptionCardBg" format="color"/>
<attr name="bookmarkSubscriptionCardTextColor" format="color"/>
<attr name="imgPromoBookingTitle" format="reference"/>
</resources>

View File

@@ -1,10 +1,4 @@
{
"World": {
"languages": ["int_name", "en", "default"]
},
"WorldCoasts": {
"languages": ["int_name", "en", "default"]
},
"Abkhazia": {
"languages": ["ab", "ru"]
},

View File

@@ -31,8 +31,8 @@ namespace df
{
namespace
{
uint64_t constexpr kDoubleTapPauseMs = 250;
uint64_t constexpr kLongTouchMs = 500;
uint64_t constexpr kDoubleTapPauseMs = 200;
uint64_t constexpr kLongTouchMs = 700;
uint64_t constexpr kKineticDelayMs = 500;
float constexpr kForceTapThreshold = 0.75;