Fix minor issues

Update electron builder
This commit is contained in:
JannisX11 2023-01-22 23:28:57 +01:00
parent 3f3935f1e3
commit d5d16b3d06
5 changed files with 115 additions and 602 deletions

View File

@ -208,7 +208,7 @@ class AnimationControllerState {
media.pause();
}
})
this.playing_sounds.empty();1
this.playing_sounds.empty();
}
playEffects() {
if (!this.muted.sound) {
@ -720,7 +720,6 @@ class AnimationController extends AnimationItem {
this.playing = state !== undefined ? state : !this.playing;
Animator.preview();
} else {
Timeline.start();
}
return this.playing;
}

View File

@ -15,7 +15,10 @@ Blockbench.NodePreviewController = NodePreviewController;
Blockbench.Animator = Animator;
Blockbench.Timeline = Timeline;
Blockbench.AnimationItem = AnimationItem;
Blockbench.Animation = Animation;
Blockbench.AnimationController = AnimationController;
Blockbench.AnimationControllerState = AnimationControllerState;
Blockbench.Keyframe = Keyframe;
Blockbench.KeyframeDataPoint = KeyframeDataPoint;
Blockbench.BoneAnimator = BoneAnimator;
@ -26,6 +29,7 @@ Blockbench.TimelineMarker = TimelineMarker;
Blockbench.Panel = Panel;
Blockbench.Mode = Mode;
Blockbench.Dialog = Dialog;
Blockbench.ShapelessDialog = ShapelessDialog;
Blockbench.Setting = Setting;
Blockbench.Plugin = Plugin;
Blockbench.Preview = Preview;

View File

@ -844,6 +844,7 @@ window.ShapelessDialog = class ShapelessDialog extends Dialog {
}
delete() {
if (this.object) this.object.remove()
this.object = null;
}
}
@ -944,6 +945,7 @@ window.MessageBox = class MessageBox extends Dialog {
}
delete() {
if (this.object) this.object.remove()
this.object = null;
}
}

706
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -107,7 +107,7 @@
"devDependencies": {
"blockbench-types": "^4.5.0",
"electron": "^22.0.3",
"electron-builder": "^23.1.0",
"electron-builder": "^23.6.0",
"electron-notarize": "^1.0.0",
"webpack": "^5.74.0",
"webpack-cli": "^4.5.0",