(el)
| 4983 | } |
| 4984 | |
| 4985 | function getMonoBitmapForElement(el) { |
| 4986 | if (!el) return null; |
| 4987 | if (Array.isArray(el.monoBitmap) && el.monoBitmap.length) return el.monoBitmap; |
| 4988 | const a = getAssetById(el.assetId); |
| 4989 | if (a && Array.isArray(a.monoBitmap) && a.monoBitmap.length) return a.monoBitmap; |
| 4990 | return null; |
| 4991 | } |
| 4992 | |
| 4993 | function getImageDimsForElement(el) { |
| 4994 | if (!el) return null; |
no test coverage detected