feat: official sound settings right-slide, player view skins, and UI polish

This commit is contained in:
marwy 2026-11-27 23:32:38 +03:00
parent 5c6a8557b3
commit 8bdb32623f
16 changed files with 850 additions and 203 deletions

View file

@ -277,7 +277,7 @@ impl InputState {
self.pointer_pos = Some(next);
if self.left_down {
if let Some(origin) = self.drag_origin {
if origin.distance(next) >= 3.0 {
if origin.distance(next) >= 5.0 {
self.is_dragging = true;
}
}
@ -407,7 +407,7 @@ impl InputState {
let prev_time = self.time;
self.time = time;
self.dt = if prev_time > 0.0 && time > prev_time {
((time - prev_time) as f32).clamp(0.001, 0.1)
((time - prev_time) as f32).clamp(0.001, 0.033)
} else {
1.0 / 60.0
};