()
| 191 | } |
| 192 | |
| 193 | openMap () { |
| 194 | const bounds = this.getData() || [{ x: 0, y: 0 }, { x: 100, y: 80 }] |
| 195 | const modal = new WorldSelectModal({ world: this.settings.world, dataType: 'region', default: bounds, supermodel: this.settings.supermodel }) |
| 196 | modal.callback = this.callback |
| 197 | return this.settings.view.openModalView(modal) |
| 198 | } |
| 199 | |
| 200 | callback (e) { |
| 201 | if (!e) { return } |