Compare commits
No commits in common. "ed329c629984f90e58abad0a617eebd60a88067a" and "ccaadf06cacbe1bfeb05408b01dd55a92c313f4a" have entirely different histories.
ed329c6299
...
ccaadf06ca
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
node_modules/
|
||||
coverage/
|
||||
public/
|
||||
coverage/
|
6
build.sh
6
build.sh
@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
rm -rf public
|
||||
mkdir -p public
|
||||
cp index.html public
|
||||
cp style.css public
|
||||
cp -r src/ public
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
./build.sh
|
||||
rsync -r public/ root@melch.pro:/var/www/dump.melch.pro --delete
|
@ -18,7 +18,7 @@ export function alignChild(parent, child, container, alignments, containment) {
|
||||
if (containment.invertH && overflows.h) {
|
||||
alignments = invertH(alignments)
|
||||
}
|
||||
if (containment.invertV && overflows.v) {
|
||||
if (containment.inoverV && overflows.v) {
|
||||
alignments = invertV(alignments)
|
||||
}
|
||||
childRect = calculatePosition(parentRect, childRect, alignments)
|
||||
|
@ -11,6 +11,7 @@ makeDragable(parent)
|
||||
let options = getOptions()
|
||||
|
||||
function render() {
|
||||
console.log(options)
|
||||
const { alignments, boxSizes, containment } = options
|
||||
parent.style.width = boxSizes.parentWidth
|
||||
parent.style.height = boxSizes.parentHeight
|
||||
|
Loading…
x
Reference in New Issue
Block a user