Debugging
This commit is contained in:
parent
f1a1719e86
commit
3afc782973
|
|
@ -1199,9 +1199,21 @@ img.openwebrx-mirror-img
|
|||
white-space: pre;
|
||||
}
|
||||
|
||||
#openwebrx-panel-sstv-message {
|
||||
height: 300px;
|
||||
width: 400px;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
#openwebrx-panel-sstv-message tbody {
|
||||
height: 270px;
|
||||
width: 370px;
|
||||
max-width: 370px;
|
||||
}
|
||||
|
||||
#openwebrx-panel-sstv-message .message {
|
||||
width: 586px;
|
||||
max-width: 586px;
|
||||
width: 370px;
|
||||
max-width: 370px;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ SstvMessagePanel.prototype.pushMessage = function(msg) {
|
|||
$b.append($('<tr><td class="message">' + h + c + '</td></tr>'));
|
||||
$b.scrollTop($b[0].scrollHeight);
|
||||
// Save canvas context and dimensions for future use
|
||||
this.ctx = $(this.el).find('canvas').last().getContext("2d");
|
||||
this.ctx = $(this.el).find('canvas').get(-1).getContext("2d");
|
||||
this.width = msg.width;
|
||||
this.height = msg.height;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue