mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| Hacks and fixes
 | |
| ===============
 | |
| 
 | |
| 20220126:
 | |
| node_modules/requirejs/bin/r,js
 | |
| 	Under Electron v14+ requirejs breaks with a SyntaxError on the 
 | |
| 	first char of r.js ('#!/...') -- a hackish way to fix this is to 
 | |
| 	comment it out, not yet sure why is this happening...
 | |
| 	STUB: patched by:
 | |
| 		make node_modules
 | |
| 
 | |
| 
 | |
| 
 | |
| 20210122:
 | |
| Marking changes twice on load...
 | |
| 
 | |
| The way .markChanged(..) is handled around .load(..) / .loadOrRecover(..) and 
 | |
| in base.js seems a bit hackish -- would be goof to do this in one spot,
 | |
| revise...
 | |
| 
 | |
| See:
 | |
| - features/base.js ~@1179 -- 'load' handler... 
 | |
| - features/filesystem.js ~@982 -- 'loadIndex' handler...
 | |
| 
 | |
| 
 | |
| 
 | |
| 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...
 | |
| 
 | |
| 
 | |
| 
 |