feat: official sound settings right-slide, player view skins, and UI polish
This commit is contained in:
parent
5c6a8557b3
commit
8bdb32623f
16 changed files with 850 additions and 203 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue