mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	emoji: Switch to 64px 256 color indexed sprite sheets.
This commit switches our emoji infrastructure to use 256 color indexed 64px spritesheets. Earlier we were using non-indexed 32px spritesheets which were blurry on high dpi displays. These indexed spritesheets not only provide a crispier display but are also smaller in size. This commit also removes the `emoji-datasource` package as a dependency as all the data is now sourced from individual datasource packages. Fixes: #7862.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							81a1612cbd
						
					
				
				
					commit
					40958e0824
				
			@@ -33,7 +33,7 @@ zrequire('util');
 | 
			
		||||
    var image_stub = false;
 | 
			
		||||
    class Image {
 | 
			
		||||
        set src(data) {
 | 
			
		||||
            assert.equal(data, '/static/generated/emoji/sheet_google_32.png');
 | 
			
		||||
            assert.equal(data, '/static/generated/emoji/sheet_google_64.png');
 | 
			
		||||
            image_stub = true;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user