mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-29 23:31:29 +08:00
fix(boot) 修复只能向下滚动的问题
This commit is contained in:
1 parent
6ca6595127
commit
6dbce8bdd5
5 files changed
+45
-20
No files matched your search
@@ -52,7 +52,7 @@ export default class AttackSkillTestScene extends Phaser.Scene {
|
||||
|
||||
// 获取Canvas的2D绘图上下文
|
||||
const ctx = canvas.getContext('2d');
|
||||
ctx.fillStyle = '#000000ff'; // 设置填充颜色为完全不透明的黑色
|
||||
ctx.fillStyle = '#7d2100ff'; // 设置填充颜色
|
||||
ctx.beginPath(); // 开始绘制路径
|
||||
// 绘制一个圆形:圆心(16,16),半径14,从0到2π(完整圆形)
|
||||
ctx.arc(16, 16, 14, 0, Math.PI * 2);
|
||||
|
||||
Reference in new issue
Block a user