@@ -397,6 +397,12 @@
|
||||
|
||||
<CheckInput bind:check={currentChar.data.inlayViewScreen} name={language.inlayViewScreen} onChange={() => {
|
||||
if(currentChar.type === 'character'){
|
||||
if(currentChar.data.inlayViewScreen || currentChar.data.additionalAssets === undefined){
|
||||
currentChar.data.additionalAssets = []
|
||||
}else if(!currentChar.data.inlayViewScreen || currentChar.data.additionalAssets.length === 0){
|
||||
currentChar.data.additionalAssets = undefined
|
||||
}
|
||||
|
||||
currentChar.data = updateInlayScreen(currentChar.data)
|
||||
}
|
||||
}}/>
|
||||
|
||||
Reference in New Issue
Block a user