I would like to ask, if there is a before_close event or if not, if there is a way for some sort of workaround?
Reason is, i have added some custom buttons and i use the close button, to position these buttons next to each other. If i now close the picture, the buttons disappear also, but only after some time. This means, a gallery with white background will display the buttons for a blink of a second, between the image is closed and the buttons are completely fade out. This is not the a big issue, only a small disadvantage.
I would like to ask, if there is a before_close event or if not, if there is a way for some sort of workaround?
Reason is, i have added some custom buttons and i use the close button, to position these buttons next to each other. If i now close the picture, the buttons disappear also, but only after some time. This means, a gallery with white background will display the buttons for a blink of a second, between the image is closed and the buttons are completely fade out. This is not the a big issue, only a small disadvantage.