Hid light pads if light is disabled.

This commit is contained in:
mmcwilliams 2019-03-10 13:18:59 -04:00
parent 4eee61ab1b
commit e47abeaaa5
1 changed files with 2 additions and 0 deletions

View File

@ -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';