modal: trigger resize when showing to make sure inner widget are correctly drawn

This commit is contained in:
jean-emmanuel 2017-02-18 14:18:30 +01:00
parent ff6c4bb201
commit 9f10aa7d6d

View file

@ -60,6 +60,8 @@ module.exports = class Modal extends Panel {
this.widget.toggleClass('on', this.value)
this.light.toggleClass('on', this.value)
if (this.value) $(window).resize()
}
}