mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +09:00
Completely hide debug button when not in use
This commit is contained in:
parent
8b9694fe6d
commit
d772a8df85
2 changed files with 2 additions and 1 deletions
|
|
@ -293,6 +293,7 @@ button.btn {
|
||||||
|
|
||||||
/* Debug */
|
/* Debug */
|
||||||
#rhymix_debug_button {
|
#rhymix_debug_button {
|
||||||
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0; bottom: 40px;
|
left: 0; bottom: 40px;
|
||||||
background: #eeeeee;
|
background: #eeeeee;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ $(function() {
|
||||||
|
|
||||||
// Find debug panel elements.
|
// Find debug panel elements.
|
||||||
var panel = $("#rhymix_debug_panel");
|
var panel = $("#rhymix_debug_panel");
|
||||||
var button = $("#rhymix_debug_button");
|
var button = $("#rhymix_debug_button").show();
|
||||||
|
|
||||||
// Initialize the debug button.
|
// Initialize the debug button.
|
||||||
var button_link = $('<a href="#"></a>').text("DEBUG").appendTo(button).click(function(event) {
|
var button_link = $('<a href="#"></a>').text("DEBUG").appendTo(button).click(function(event) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue