mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
prevent clog-gui windows from passing bottom of page
This commit is contained in:
parent
36e1e033e9
commit
662220432f
2 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ script."
|
||||||
#-(or sbcl ecl mezzano) (apply #'make-hash-table args))
|
#-(or sbcl ecl mezzano) (apply #'make-hash-table args))
|
||||||
|
|
||||||
(defvar *verbose-output* nil "Verbose server output (default false)")
|
(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 *app* nil "Clack 'app' middle-ware")
|
||||||
(defvar *client-handler* nil "Clack 'handler' for socket traffic")
|
(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
|
(format t "Boot js source : ~A~%" (if static-boot-js
|
||||||
"actual file"
|
"actual file"
|
||||||
"compiled in"))
|
"compiled in"))
|
||||||
(format t "Boot file for path / : ~A~%" boot-file))
|
(format t "Boot file for path / : ~A~%" boot-file)
|
||||||
|
*client-handler*)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;
|
||||||
;; shutdown-clog ;;
|
;; shutdown-clog ;;
|
||||||
|
|
|
||||||
|
|
@ -1225,7 +1225,6 @@ interactions. Use window-end-modal to undo."))
|
||||||
(setf (top obj) (unit :px (menu-bar-height obj)))
|
(setf (top obj) (unit :px (menu-bar-height obj)))
|
||||||
(let* ((body (connection-data-item obj "clog-body"))
|
(let* ((body (connection-data-item obj "clog-body"))
|
||||||
(body-height (height (html-document body))))
|
(body-height (height (html-document body))))
|
||||||
(print body-height)
|
|
||||||
(if (>= top-loc body-height)
|
(if (>= top-loc body-height)
|
||||||
(setf (top obj) (unit :px (- body-height 15)))))))
|
(setf (top obj) (unit :px (- body-height 15)))))))
|
||||||
(when (on-window-move-done obj)
|
(when (on-window-move-done obj)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue