Stack buttons vertically and show above map
This commit is contained in:
parent
954039617b
commit
b19c17b390
@ -1,10 +1,9 @@
|
|||||||
/* Custom CSS styles */
|
/* Custom CSS styles */
|
||||||
|
|
||||||
html * {
|
body {
|
||||||
border: 1px black solid; /* TODO: experimenting for now */
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
canvas {
|
button {
|
||||||
opacity: 0;
|
z-index: 50;
|
||||||
z-index: 10000000000;
|
|
||||||
}
|
}
|
||||||
|
@ -89,19 +89,19 @@ function setupRecording() {
|
|||||||
recording = new p5.SoundFile();
|
recording = new p5.SoundFile();
|
||||||
|
|
||||||
recordButton = createButton("record");
|
recordButton = createButton("record");
|
||||||
recordButton.position(10, 90);
|
recordButton.position(50, 10);
|
||||||
recordButton.mousePressed(record);
|
recordButton.mousePressed(record);
|
||||||
|
|
||||||
stopButton = createButton("stop");
|
stopButton = createButton("stop");
|
||||||
stopButton.position(120, 90);
|
stopButton.position(50, 40);
|
||||||
stopButton.mousePressed(stop);
|
stopButton.mousePressed(stop);
|
||||||
|
|
||||||
playButton = createButton("play");
|
playButton = createButton("play");
|
||||||
playButton.position(210, 90);
|
playButton.position(50, 70);
|
||||||
playButton.mousePressed(play);
|
playButton.mousePressed(play);
|
||||||
|
|
||||||
playButton = createButton("archive");
|
playButton = createButton("archive");
|
||||||
playButton.position(300, 90);
|
playButton.position(50, 100);
|
||||||
playButton.mousePressed(archive);
|
playButton.mousePressed(archive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user