mirror of
				https://github.com/SoPat712/dotfiles.git
				synced 2025-10-31 12:54:13 -04:00 
			
		
		
		
	vuetorrent update
This commit is contained in:
		
							
								
								
									
										1
									
								
								qbit/vuetorrent/public/assets/CanvasPool-D00IADyo.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								qbit/vuetorrent/public/assets/CanvasPool-D00IADyo.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| import{D as c,n,__tla as __tla_0}from"./TorrentDetail-CKmHZcwa.js";let C;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{class l{constructor(a){this._canvasPool=Object.create(null),this.canvasOptions=a||{},this.enableFullScreen=!1}_createCanvasAndContext(a,s){const t=c.get().createCanvas();t.width=a,t.height=s;const o=t.getContext("2d");return{canvas:t,context:o}}getOptimalCanvasAndContext(a,s,t=1){a=Math.ceil(a*t-1e-6),s=Math.ceil(s*t-1e-6),a=n(a),s=n(s);const o=(a<<17)+(s<<1);this._canvasPool[o]||(this._canvasPool[o]=[]);let e=this._canvasPool[o].pop();return e||(e=this._createCanvasAndContext(a,s)),e}returnCanvasAndContext(a){const s=a.canvas,{width:t,height:o}=s,e=(t<<17)+(o<<1);this._canvasPool[e].push(a)}clear(){this._canvasPool={}}}C=new l});export{C,__tla}; | ||||
		Reference in New Issue
	
	Block a user
	 Josh Patra
					Josh Patra