prevent clog-gui windows from passing bottom of page

This commit is contained in:
David Botton 2022-04-05 20:27:33 -04:00
parent 36e1e033e9
commit 662220432f
2 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ script."
#-(or sbcl ecl mezzano) (apply #'make-hash-table args))
(defvar *verbose-output* nil "Verbose server output (default false)")
(defvar *break-on-error* t "Allow invoking debugger (default true)")
(defvar *break-on-error* t "Allow invoking debugger (default true)")
(defvar *app* nil "Clack 'app' middle-ware")
(defvar *client-handler* nil "Clack 'handler' for socket traffic")
@ -372,7 +372,8 @@ instead of the compiled version."
(format t "Boot js source : ~A~%" (if static-boot-js
"actual file"
"compiled in"))
(format t "Boot file for path / : ~A~%" boot-file))
(format t "Boot file for path / : ~A~%" boot-file)
*client-handler*)
;;;;;;;;;;;;;;;;;;;
;; shutdown-clog ;;

View file

@ -1225,7 +1225,6 @@ interactions. Use window-end-modal to undo."))
(setf (top obj) (unit :px (menu-bar-height obj)))
(let* ((body (connection-data-item obj "clog-body"))
(body-height (height (html-document body))))
(print body-height)
(if (>= top-loc body-height)
(setf (top obj) (unit :px (- body-height 15)))))))
(when (on-window-move-done obj)