phoboslab / Impact

HTML5 Game Engine
MIT License
1.99k stars 204 forks source link

wm.Weltmeister: Should instantiate deleteLayerDialog to null #53

Closed Joncom closed 5 years ago

Joncom commented 5 years ago

Dialogs are initialized to null:

https://github.com/phoboslab/Impact/blob/9821310b806e5491b33dcbe7322ec273cc931827/lib/weltmeister/weltmeister.js#L45-L47

However, deleteLayerDialog was missed above:

https://github.com/phoboslab/Impact/blob/9821310b806e5491b33dcbe7322ec273cc931827/lib/weltmeister/weltmeister.js#L65

https://github.com/phoboslab/Impact/blob/9821310b806e5491b33dcbe7322ec273cc931827/lib/weltmeister/weltmeister.js#L71

https://github.com/phoboslab/Impact/blob/9821310b806e5491b33dcbe7322ec273cc931827/lib/weltmeister/weltmeister.js#L77

https://github.com/phoboslab/Impact/blob/9821310b806e5491b33dcbe7322ec273cc931827/lib/weltmeister/weltmeister.js#L79