Fix keyframe interpolation issue

Fix project display name in window title
This commit is contained in:
JannisX11 2021-11-23 12:23:29 +01:00
parent c76ed4ca3d
commit 3325691a61
2 changed files with 9 additions and 4 deletions

View File

@ -755,7 +755,7 @@ class GeneralAnimator {
if (value) {
keyframe.extend(value);
} else if (this.transform && this.fillValues) {
} else if (this.fillValues) {
this.fillValues(keyframe, value, true);
}

View File

@ -428,8 +428,8 @@ function resizeWindow(event) {
function setProjectTitle(title) {
let window_title = 'Blockbench';
if (title == undefined && Project.geometry_name) {
title = Project.geometry_name
if (title == undefined && Project.name) {
title = Project.name
}
if (title) {
Prop.file_name = Prop.file_name_alt = title
@ -565,7 +565,12 @@ onVueSetup(function() {
isMobile: Blockbench.isMobile,
streamer_mode: settings.streamer_mode.value,
selection_info: '',
Format: null
Format: null,
modifier_keys: {
ctrl: [],
shift: [],
alt: []
}
},
methods: {
showContextMenu(event) {