moved MobileStart to within the TopBar function

This commit is contained in:
Yotam Mann 2014-09-06 18:08:59 -04:00
parent 99d2b00b34
commit 6f7dd09d26
17 changed files with 10 additions and 16 deletions

View file

@ -246,6 +246,8 @@ GUI.TopBar = function(Tone){
Tone.Master.connect(this.meter);
this.meterGUI = new GUI.LevelMeter(this.element, this.meter);
this.makeDropDown();
//and the mobile start button
new GUI.MobileStart(Tone.startMobile);
};
GUI.TopBar.prototype.makeDropDown = function(){

View file

@ -48,7 +48,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
var container = $("#Content");

View file

@ -64,7 +64,6 @@
// GUI //
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
var content = $("#Content");

View file

@ -61,7 +61,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
$("#tabs").tabs();

View file

@ -45,7 +45,6 @@
$(function(){
var container = $("#Content");
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
//sliders for the envelope controls

View file

@ -62,7 +62,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
$("#tabs").tabs();

View file

@ -58,6 +58,7 @@
};
var synth = new Tone.MonoSynth(synthOptions);
synth.setVolume(-10);
synth.toMaster();
var synthPart = [["0", "C2"], ["1*8n", "C4"], ["2*8n", "E4"], ["3*8n", "B3"],
@ -78,7 +79,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
var content = $("#Content");

View file

@ -50,7 +50,6 @@
var content = $("#Content");
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
new GUI.Checkbox(content, function(on){
if (on){

View file

@ -59,7 +59,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
$("#tabs").tabs();

View file

@ -57,7 +57,6 @@
// GUI //
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
new GUI.Momentary($("#Button"), function(){

View file

@ -43,7 +43,6 @@
$(function(){
var content = $("#Content");
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
new GUI.Checkbox(content, function(on){
if (on){

View file

@ -44,7 +44,6 @@
// GUI //
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
new GUI.Momentary($("#Content"), function(on){

View file

@ -43,7 +43,6 @@
// GUI //
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
new GUI.Momentary($("#Content"), function(on){

View file

@ -98,7 +98,6 @@
// GUI //
var content = $("#Content");
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
//the transport controls

View file

@ -76,7 +76,6 @@
// GUI //
new GUI.TopBar(Tone);
new GUI.MobileStart(Tone.startMobile);
var container = $("#Content");

View file

@ -98,7 +98,6 @@
}
}
new GUI.MobileStart(Tone.startMobile);
new GUI.TopBar(Tone);
var startButton = $("#StartButton");

View file

@ -4,6 +4,12 @@
user-select: none;
}
textarea {
-webkit-user-select: text!important;
-moz-user-select: text!important
user-select: text!important
}
#Container {
text-size-adjust: none;
-webkit-text-size-adjust: none;
@ -34,7 +40,7 @@
position: relative;
margin: auto;
margin-top: 60px;
margin-bottom: 80px;
margin-bottom: 120px;
width: 200px;
height: auto;
z-index: 0;