mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			821 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			821 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
 | 
						|
Hacks and fixes
 | 
						|
===============
 | 
						|
 | 
						|
 | 
						|
20201104:
 | 
						|
Chrome v83 / Electron 9.3.3
 | 
						|
 | 
						|
WebKit canvas' .drawImage(..) ignores its and images .style.imageOrientation 
 | 
						|
unless both are added to DOM.
 | 
						|
 | 
						|
FIX:
 | 
						|
- features/app.js: img2canvas(..) quietly adds the elements to DOM and then cleans up
 | 
						|
 | 
						|
TODO:
 | 
						|
- test in browser...
 | 
						|
- test in newer versions of browser / electron...
 | 
						|
- if not fixed report...
 | 
						|
 | 
						|
 | 
						|
 | 
						|
20200830: 
 | 
						|
RequireJS + Electron v7+ mess up default .baseUrl
 | 
						|
 | 
						|
FIX:
 | 
						|
- cfg/requirejs.js: added .baseUrl inferencing.
 | 
						|
 | 
						|
TODO:
 | 
						|
- is this a bug or a feature and report as bug if needed
 | 
						|
 | 
						|
 | 
						|
 | 
						|
20200830: 
 | 
						|
Chrome messing up fullscreen colors unless a <video> tag is present.
 | 
						|
 | 
						|
FIX:
 | 
						|
- data/blank.mp4: added
 | 
						|
- index.html / electron.html: added <video> tag with data/blank.mp4 as source
 | 
						|
 | 
						|
TODO:
 | 
						|
- report this...
 | 
						|
 | 
						|
 | 
						|
 |