(type, listener)
| 1089 | listeners[type] = listener; |
| 1090 | }; |
| 1091 | const _remove = (type, listener) => { |
| 1092 | if (listeners[type]) { |
| 1093 | platform.removeEventListener(this, type, listener); |
| 1094 | delete listeners[type]; |
| 1095 | } |
| 1096 | }; |
| 1097 | |
| 1098 | const listener = (width, height) => { |
| 1099 | if (this.canvas) { |
nothing calls this directly
no test coverage detected