mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55: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
|
||||
|
||||
}
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
.interact-control.fill-height.as-table.stf-device-control(ng-controller='DeviceControlCtrl')
|
||||
|
||||
.as-cell.fill-height
|
||||
.as-table.fill-height
|
||||
.stf-vnc-navbar.as-row(ng-if='!$root.basicMode')
|
||||
.stf-vnc-navbar.as-row(ng-show='!$root.basicMode')
|
||||
|
||||
.pull-right
|
||||
button(ng-click='control.identify()', tooltip='Find Device', tooltip-placement='bottom').btn.btn-sm.btn-info-outline
|
||||
|
||||
Reference in New Issue
Block a user