mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 00:53:26 +02:00
Fix showScreen not working.
This commit is contained in:
@@ -66,7 +66,7 @@ module.exports = function logcatTableDirective($rootScope, $timeout, LogcatServi
|
||||
.appendChild(document.createTextNode(data.message))
|
||||
|
||||
if (autoScroll && shouldAutoScroll() && !batchRequest) {
|
||||
_.throttle(scrollToBottom, 10)()
|
||||
_.throttle(scrollToBottom, 30)()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,8 @@ module.exports = function LogcatServiceFactory(socket, DeviceService) {
|
||||
|
||||
function enhanceEntry(data) {
|
||||
var date = new Date(data.date * 1000)
|
||||
data.dateLabel = _s.pad(date.getHours(), 2, '0') + ':' +
|
||||
data.dateLabel =
|
||||
_s.pad(date.getHours(), 2, '0') + ':' +
|
||||
_s.pad(date.getMinutes(), 2, '0') + ':' +
|
||||
_s.pad(date.getSeconds(), 2, '0') + '.' +
|
||||
_s.pad(date.getMilliseconds(), 3, '0')
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
module.exports = function DeviceScreenCtrl($scope, $rootScope, ScalingService) {
|
||||
$scope.displayError = false
|
||||
$scope.ScalingService = ScalingService
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user