UX·FX v1.5 — 햅틱 단계 · 라이브 띠 · HERO 전광판 · Push 우선순위 · Shield · 이클립스 성공·실패 연출
This commit is contained in:
@@ -8,7 +8,6 @@ import '../../../core/ui/hero_time_status.dart';
|
||||
import 'growth_conditions.dart';
|
||||
|
||||
import 'dart:math' as math;
|
||||
import 'package:flutter/services.dart' show HapticFeedback;
|
||||
import 'dart:ui' show ImageFilter;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -21,6 +20,7 @@ import '../../../core/data/planet_visual_state.dart';
|
||||
import '../home_data.dart';
|
||||
import '../home_screen.dart' show formatPop;
|
||||
import '../../../core/i18n/app_locale.dart';
|
||||
import '../../../core/ui/fx_intensity.dart';
|
||||
|
||||
/// 홈 상단 히어로 — Figma 사본 `252:159354` 홈의 `Frame 1984081117`.
|
||||
///
|
||||
@@ -1073,7 +1073,7 @@ class _TapShakeState extends State<_TapShake> with SingleTickerProviderStateMixi
|
||||
Future<void> _tap() async {
|
||||
final onTap = widget.onTap;
|
||||
if (onTap == null || _shake.isAnimating) return;
|
||||
HapticFeedback.lightImpact();
|
||||
fxHaptic(FxIntensity.micro);
|
||||
if (!MediaQuery.disableAnimationsOf(context)) await _shake.forward(from: 0);
|
||||
if (mounted) onTap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user