Fix bug in model overlay not being shown

This commit is contained in:
David Botton 2024-01-31 12:39:54 -05:00
parent 0398483bdc
commit ceca69e584

View file

@ -1173,7 +1173,8 @@ interactions. Use window-end-modal to undo."))
(defmethod window-make-modal ((obj clog-gui-window))
(let ((app (connection-data-item obj "clog-gui")))
(when (and app (= (modal-count app) 0))
(when (and app
(<= (modal-count app) 0))
(setf (modal-background app) (create-div (body app) :class "w3-overlay"))
(setf (display (modal-background app)) :block))
(incf (modal-count app))