mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	Fix issues caused by reactivity removal
This commit is contained in:
		
							parent
							
								
									523cc67c14
								
							
						
					
					
						commit
						c93a1b2d08
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -73,7 +73,7 @@ const props = defineProps<{
 | 
			
		|||
const isSensitive = props.flashFile.isSensitive;
 | 
			
		||||
const url = props.flashFile.url;
 | 
			
		||||
const comment = props.flashFile.comment ?? '';
 | 
			
		||||
let hide = ref((defaultStore.state.nsfw === 'force') || isSensitive.value && (defaultStore.state.nsfw !== 'ignore'));
 | 
			
		||||
let hide = ref((defaultStore.state.nsfw === 'force') || isSensitive && (defaultStore.state.nsfw !== 'ignore'));
 | 
			
		||||
let playerHide = ref(true);
 | 
			
		||||
let ruffleContainer = ref<HTMLDivElement>();
 | 
			
		||||
let playPauseButtonKey = ref<number>(0);
 | 
			
		||||
| 
						 | 
				
			
			@ -173,7 +173,7 @@ async function loadContent() {
 | 
			
		|||
	ruffleContainer.value?.appendChild(player.value);
 | 
			
		||||
	loadingStatus.value = i18n.ts._flash.loadingFlashFile;
 | 
			
		||||
	try {
 | 
			
		||||
		await player.value.load(url.value);
 | 
			
		||||
		await player.value.load(url);
 | 
			
		||||
		loadingStatus.value = undefined;
 | 
			
		||||
	} catch (error) {
 | 
			
		||||
		try {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue