mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-07-08 21:36:10 +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%;
|
width: 12.5%;
|
||||||
padding-bottom: 12.5%;
|
padding-bottom: 12.5%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transition: 0.3s;
|
transition: 150ms;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -276,7 +276,7 @@ const App: FC = () => {
|
||||||
checkCover(updateScene);
|
checkCover(updateScene);
|
||||||
|
|
||||||
setAnimating(true);
|
setAnimating(true);
|
||||||
await waitTimeout(300);
|
await waitTimeout(150);
|
||||||
|
|
||||||
const filterSame = updateQueue.filter((sb) => sb.icon === symbol.icon);
|
const filterSame = updateQueue.filter((sb) => sb.icon === symbol.icon);
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react';
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
host: true,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user