Compare commits

..

No commits in common. "ed329c629984f90e58abad0a617eebd60a88067a" and "ccaadf06cacbe1bfeb05408b01dd55a92c313f4a" have entirely different histories.

5 changed files with 3 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
node_modules/
coverage/
public/

View File

@ -1,6 +0,0 @@
#!/bin/bash
rm -rf public
mkdir -p public
cp index.html public
cp style.css public
cp -r src/ public

View File

@ -1,3 +0,0 @@
#!/bin/bash
./build.sh
rsync -r public/ root@melch.pro:/var/www/dump.melch.pro --delete

View File

@ -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)

View File

@ -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