mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-07-08 09:26:08 +08:00
fix: 动画间隔缩短
This commit is contained in:
parent
0612149a5b
commit
d90bb9b717
|
@ -28,6 +28,7 @@ vite+react 实现,欢迎 star、issue、pr、fork(尽量标注原仓库地
|
|||
- [ ] 多主题
|
||||
- [ ] 计时
|
||||
- [ ] 性能优化
|
||||
- [ ] BGM/音效
|
||||
- [ ] 点击时的缓冲队列,优化交互动画效果
|
||||
- [ ] 该游戏似乎涉嫌抄袭,考证后补充来源说明
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
width: 12.5%;
|
||||
padding-bottom: 12.5%;
|
||||
position: absolute;
|
||||
transition: 0.3s;
|
||||
transition: 150ms;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
|
|
@ -276,7 +276,7 @@ const App: FC = () => {
|
|||
checkCover(updateScene);
|
||||
|
||||
setAnimating(true);
|
||||
await waitTimeout(300);
|
||||
await waitTimeout(150);
|
||||
|
||||
const filterSame = updateQueue.filter((sb) => sb.icon === symbol.icon);
|
||||
|
||||
|
|
|
@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react';
|
|||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
host: true,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user