| 99394 | return icon && (icon.id || icon.url); |
| 99395 | } |
| 99396 | function resizeTexture(gl, texture, width, height) { |
| 99397 | var oldWidth = texture.width; |
| 99398 | var oldHeight = texture.height; |
| 99399 | var newTexture = (0, _core.cloneTextureFrom)(texture, { |
| 99400 | width: width, |
| 99401 | height: height |
| 99402 | }); |
| 99403 | (0, _core.copyToTexture)(texture, newTexture, { |
| 99404 | targetY: 0, |
| 99405 | width: oldWidth, |
| 99406 | height: oldHeight |
| 99407 | }); |
| 99408 | texture["delete"](); |
| 99409 | return newTexture; |
| 99410 | } |
| 99411 | function buildRowMapping(mapping, columns, yOffset) { |
| 99412 | for(var i = 0; i < columns.length; i++){ |
| 99413 | var _columns$i = columns[i], icon = _columns$i.icon, xOffset = _columns$i.xOffset; |