chore:修复lockControl模式下能触发回退键的问题
This commit is contained in:
1 parent
e04b7fd9b2
commit
3db2604d95
1 file changed
+2
@@ -734,6 +734,7 @@ main.prototype.listen = function () {
|
||||
main.statusBar.image.rollback.onclick = function (e) {
|
||||
e.stopPropagation();
|
||||
if (core.isReplaying()) return;
|
||||
if (core.status.lockControl) return;
|
||||
else if (main.core.isPlaying()) core.doSL("autoSave", "load");
|
||||
}
|
||||
|
||||
@@ -741,6 +742,7 @@ main.prototype.listen = function () {
|
||||
main.statusBar.image.undoRollback.onclick = function (e) {
|
||||
e.stopPropagation();
|
||||
if (core.isReplaying()) return;
|
||||
if (core.status.lockControl) return;
|
||||
else if (main.core.isPlaying()) core.doSL("autoSave", "reload");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user