Compare commits
3 Commits
ccaadf06ca
...
ed329c6299
Author | SHA1 | Date | |
---|---|---|---|
ed329c6299 | |||
305d418f5f | |||
a040913e88 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
coverage/
|
||||
public/
|
6
build.sh
Executable file
6
build.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
rm -rf public
|
||||
mkdir -p public
|
||||
cp index.html public
|
||||
cp style.css public
|
||||
cp -r src/ public
|
3
deploy.sh
Executable file
3
deploy.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/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.inoverV && overflows.v) {
|
||||
if (containment.invertV && overflows.v) {
|
||||
alignments = invertV(alignments)
|
||||
}
|
||||
childRect = calculatePosition(parentRect, childRect, alignments)
|
||||
|
@ -11,7 +11,6 @@ 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