mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Cleanup code for control-panes.
This commit is contained in:
@@ -6,11 +6,6 @@ module.exports = function ScreenshotsCtrl($scope) {
|
||||
$scope.screenshots = []
|
||||
}
|
||||
|
||||
//SettingsService.bind($scope, {
|
||||
// target: 'screenShotSize',
|
||||
// defaultValue: 200
|
||||
//})
|
||||
|
||||
$scope.shotSizeParameter = function (maxSize, multiplier) {
|
||||
var finalSize = $scope.screenShotSize * multiplier
|
||||
var finalMaxSize = maxSize * multiplier
|
||||
@@ -36,5 +31,4 @@ module.exports = function ScreenshotsCtrl($scope) {
|
||||
}
|
||||
$scope.screenShotSize = newValue
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user