working on stretchable tiles

This commit is contained in:
Stephan Richter
2020-09-14 01:41:01 +02:00
parent 44abb92ed5
commit 10837473ce
10 changed files with 146 additions and 11 deletions

View File

@@ -6,8 +6,13 @@ html{
height: 100%;
}
body{
min-height: 100%;
background: #c6dbd2;
min-height: 100%;
}
#plan{
background: #c6dbd2;
height: 100%;
width: 100%;
}
.tile{

View File

@@ -1,7 +1,7 @@
const ADD = 'add';
const MOVE = 'move';
const SQUARE = 30;
const BODY = 'body';
const BODY = '#plan';
const DIV = 'DIV';
const SVG = 'svg';
const PLAN = 'plan';
@@ -137,6 +137,7 @@ function savePlan(ev){
window.onload = function () {
var isDragging = false;
console.log($(BODY).each(function(){console.log(this)}));
$('.menu > div').click(closeMenu);
$('.menu .addtile .list svg').click(enableAdding);
$('.menu .move .list div').click(enableMove);

View File

@@ -3,5 +3,6 @@ Added {} : {} hinzugefügt
Add tile : Kachel hinzufügen
Plan saved as "{}". : Plan als „{}“ gespeichert.
Properties : Eigenschaften
Properties of {} @ ({},{}) : Eigenschaften von {} @ ({},{})
Save plan : Plan speichern
Unknown action\: {} : Unbekannte Aktion: {}