Hid light pads if light is disabled.
This commit is contained in:
parent
4eee61ab1b
commit
e47abeaaa5
|
@ -92,11 +92,13 @@ light.disable = function () {
|
||||||
light.disabled = true;
|
light.disabled = true;
|
||||||
$('#tb_toolbar_item_light').hide();
|
$('#tb_toolbar_item_light').hide();
|
||||||
$('#seq_labels .spacer').eq(1).hide();
|
$('#seq_labels .spacer').eq(1).hide();
|
||||||
|
$('#light_set').hide();
|
||||||
}
|
}
|
||||||
light.enable = function () {
|
light.enable = function () {
|
||||||
light.disabled = false;
|
light.disabled = false;
|
||||||
$('#tb_toolbar_item_light').show();
|
$('#tb_toolbar_item_light').show();
|
||||||
$('#seq_labels .spacer').eq(1).show();
|
$('#seq_labels .spacer').eq(1).show();
|
||||||
|
$('#light_set').show();
|
||||||
};
|
};
|
||||||
light.colorPickers = function () {
|
light.colorPickers = function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
Loading…
Reference in New Issue