mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
typos
This commit is contained in:
parent
5cf0f0d3a3
commit
bf4232029c
2 changed files with 15 additions and 13 deletions
|
|
@ -113,7 +113,8 @@ possible tag and keywords."))
|
|||
(defgeneric create-child (clog-obj html &key html-id auto-place clog-type)
|
||||
(:documentation "Create a new CLOG-ELEMENT or sub-type of CLOG-TYPE from HTML
|
||||
as child of CLOG-OBJ and if :AUTO-PLACE (default t) place-inside-bottom-of
|
||||
CLOG-OBJ. If HTML-ID is nil one will be generated."))
|
||||
CLOG-OBJ, you can also set auto-place to :bottom or :top. If HTML-ID is nil one
|
||||
will be generated."))
|
||||
|
||||
(defmethod create-child ((obj clog-obj) html &key (html-id nil)
|
||||
(auto-place t)
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
(let* ((app (connection-data-item obj "app-data"))
|
||||
(mouse-x (getf data :screen-x)) ; Use the screen coordinates not
|
||||
(mouse-y (getf data :screen-y)) ; the coordinates relative to the obj
|
||||
(obj-top (parse-integer (top obj) :junk-allowed t))
|
||||
(obj-left (parse-integer (left obj) :junk-allowed t)))
|
||||
(obj-top (position-top obj))
|
||||
(obj-left (position-left obj)))
|
||||
(setf (drag-x app) (- mouse-x obj-left))
|
||||
(setf (drag-y app) (- mouse-y obj-top))
|
||||
(set-on-pointer-move obj 'on-mouse-move)
|
||||
|
|
@ -65,6 +65,7 @@
|
|||
;; to the entire window.
|
||||
(setf (positioning div1) :fixed) ; Its location relative to window
|
||||
(setf (overflow div1) :hidden) ; Clip the contents
|
||||
(setf (positioning div1) :fixed) ; Its location relative to window
|
||||
(setf (positioning div2) :absolute) ; Its location relative to its parent container
|
||||
(setf (overflow div2) :hidden)
|
||||
(setf (positioning div3) :absolute)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue