Skip to content

Commit b6571c5

Browse files
authored
πŸ”€ Merge #457: πŸ”– v1.8.0-beta.2
### Changes - ⚠️ **BREAKING** β€” Removed `custom_name`, `custom_name_visible`, `useNbt`, and `nbt` from Display Entity Configs. Use the new 'On Summon Function' and 'On Apply Function' settings to configure entity NBT instead. - ⚠️ **BREAKING** β€” Removed `inherit_settings` from Display Entity Configs. It didn't work properly and was causing more issues than it solved. Use the new copy / paste config actions instead. - Replaced unique node configs with universal DisplayEntityConfig. - Added 'Copy Display Entity Config' and 'Paste Display Entity Config' actions to context menus for Groups, Text Displays, Item Displays, and Block Displays. - Added 'On Summon Function' to Display Entity Configs. - Added 'On Apply Function' to Per-variant Display Entity Configs. - Improved undo / redo history and behavior for TextDisplays, ItemDisplays, and BlockDisplays. - Improved the Render Box preview's reactivity. ### Fixes - Fixed rotation validation not checking the correct version, and marking any rotation as invalid. - Fixed Blueprints becoming unsavable after opening. - Fixed Blueprints becoming unsavable after converting from another format. - Fixed annoying element panel UI flicker when selecting or transforming TextDisplays, ItemDisplays, or BlockDisplays. - Fixed uncaught error when deleting a text display. - Fixed outdated warning not appearing until the second reload after rig_hash was modified. - Fixed custom outliner elements inheriting the same properties list, and therefor causing every node which inherits it to include every other node's properties in it's saved data.
2 parents 0f3ace4 + 6bc8696 commit b6571c5

File tree

69 files changed

+1859
-2904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1859
-2904
lines changed

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Animated Java",
55
"icon": "icon.svg",
66
"description": "Effortlessly craft complex animations for Minecraft: Java Edition",
7-
"version": "1.8.0-beta.1",
7+
"version": "1.8.0-beta.2",
88
"min_blockbench_version": "4.12.0",
99
"max_blockbench_version": "4.12.6",
1010
"variant": "desktop",

β€Žsrc/components/boneConfigDialog.svelteβ€Ž

Lines changed: 0 additions & 329 deletions
This file was deleted.

β€Žsrc/components/customCodeJar.svelteβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
export let value: string
55
export let placeholder: string | undefined = undefined
6+
export let style: string | undefined = undefined
67
export let syntax: string | undefined = undefined
78
89
let codeJarElement: HTMLPreElement | undefined
@@ -26,12 +27,13 @@
2627
}
2728
}
2829
29-
const forceNoWrap = () => {
30+
const forceNoWrap = (_?: HTMLElement) => {
3031
if (!codeJarElement) return
3132
codeJarElement.style.overflowWrap = 'unset'
3233
codeJarElement.style.whiteSpace = 'pre'
3334
}
3435
36+
$: codeJarElement && forceNoWrap()
3537
$: value !== undefined && forceNoWrap()
3638
</script>
3739

@@ -45,7 +47,7 @@
4547
preserveIdent
4648
history
4749
class={'language-' + (syntax ?? 'plaintext')}
48-
style="
50+
style={`
4951
font-family: var(--font-code);
5052
font-size: 14px;
5153
padding: 3px 6px;
@@ -61,8 +63,9 @@
6163
border: 1px solid var(--color-border);
6264
border-radius: 0;
6365
text-shadow: 0px 1px rgba(0, 0, 0, 0.3);
64-
"
66+
` + style}
6567
/>
68+
<div use:forceNoWrap />
6669
{#if placeholder && (!value || value.length === 0)}
6770
<div class="placeholder">{placeholder}</div>
6871
{/if}

0 commit comments

Comments
Β (0)