mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix minor issues
Update electron builder
This commit is contained in:
parent
3f3935f1e3
commit
d5d16b3d06
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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
706
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user