File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1212 import FileSelect from ' ./dialogItems/fileSelect.svelte'
1313 import FolderSelect from ' ./dialogItems/folderSelect.svelte'
1414 import CodeInput from ' ./dialogItems/codeInput.svelte'
15+ import Select from ' ./dialogItems/select.svelte'
16+ import { DIALOG_ID } from ' ../interface/animationPropertiesDialog'
1517
1618 import HeartIcon from ' ../assets/heart.png'
1719 import KoFiImage from ' ../assets/kofi_s_tag_white.webp'
2729 </script >
2830
2931<script lang =" ts" >
30- import Select from ' ./dialogItems/select.svelte'
31-
3232 export let blueprintName: Valuable <string >
3333 export let textureSizeX: Valuable <number >
3434 export let textureSizeY: Valuable <number >
356356 }
357357 </script >
358358
359+ <div style ="--aj-dialog-id: ' {DIALOG_ID }';" />
360+
359361<div >
360362 <LineInput
361363 label ={translate (' dialog.blueprint_settings.blueprint_name.title' )}
744746 }
745747 }
746748
747- :global(.dialog_wrapper .dialog_content ) {
749+ :global(dialog #animated_java \: blueprintSettingsDialog .dialog_wrapper .dialog_content ) {
748750 overflow-y : auto !important ;
749751 }
750752 div {
Original file line number Diff line number Diff line change @@ -4,14 +4,16 @@ import { Valuable } from '../util/stores'
44import { SvelteDialog } from '../util/svelteDialog'
55import { translate } from '../util/translation'
66
7+ export const DIALOG_ID = `${ PACKAGE . name } :animationPropertiesDialog`
8+
79export function openAnimationPropertiesDialog ( animation : _Animation ) {
810 const animationName = new Valuable ( animation . name )
911 const loopMode = new Valuable ( animation . loop )
1012 const loopDelay = new Valuable ( Number ( animation . loop_delay ) || 0 )
1113 const excludedNodes = new Valuable ( animation . excluded_nodes )
1214
1315 new SvelteDialog ( {
14- id : ` ${ PACKAGE . name } :animationPropertiesDialog` ,
16+ id : DIALOG_ID ,
1517 title : translate ( 'dialog.animation_properties.title' , animation . name ) ,
1618 width : 600 ,
1719 svelteComponent : AniamtionPropertiesSvelteComponent ,
You can’t perform that action at this time.
0 commit comments