mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-30 03:03:24 +08:00
Deploying to gh-pages from @ 0ad9158bd2
🚀
This commit is contained in:
parent
1d74c352ea
commit
7a9fe7bb6a
@ -87,7 +87,6 @@ control.prototype._init = function () {
|
|||||||
this.registerReplayAction('getNext', this._replayAction_getNext);
|
this.registerReplayAction('getNext', this._replayAction_getNext);
|
||||||
this.registerReplayAction('moveDirectly', this._replayAction_moveDirectly);
|
this.registerReplayAction('moveDirectly', this._replayAction_moveDirectly);
|
||||||
this.registerReplayAction('key', this._replayAction_key);
|
this.registerReplayAction('key', this._replayAction_key);
|
||||||
this.registerReplayAction('click', this._replayAction_click);
|
|
||||||
this.registerReplayAction('ignoreInput', this._replayAction_ignoreInput);
|
this.registerReplayAction('ignoreInput', this._replayAction_ignoreInput);
|
||||||
this.registerReplayAction('no', this._replayAction_no);
|
this.registerReplayAction('no', this._replayAction_no);
|
||||||
// --- 注册系统的resize
|
// --- 注册系统的resize
|
||||||
@ -1795,7 +1794,6 @@ control.prototype.startReplay = function (list) {
|
|||||||
|
|
||||||
////// 更改播放状态 //////
|
////// 更改播放状态 //////
|
||||||
control.prototype.triggerReplay = function () {
|
control.prototype.triggerReplay = function () {
|
||||||
console.log(core.dymCanvas.replay.canvas.style.width);
|
|
||||||
if (core.status.replay.pausing) this.resumeReplay();
|
if (core.status.replay.pausing) this.resumeReplay();
|
||||||
else this.pauseReplay();
|
else this.pauseReplay();
|
||||||
};
|
};
|
||||||
|
@ -79,7 +79,7 @@ items.prototype.useItem = function (itemId, noRoute, callback) {
|
|||||||
const ignore = ['I560', 'I559'];
|
const ignore = ['I560', 'I559'];
|
||||||
if (
|
if (
|
||||||
!this.canUseItem(itemId) ||
|
!this.canUseItem(itemId) ||
|
||||||
(ignore.includes(itemId) && core.isReplaying())
|
(core.isReplaying() && ignore.includes(itemId))
|
||||||
) {
|
) {
|
||||||
if (callback) callback();
|
if (callback) callback();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user