Renames of variables
This commit is contained in:
parent
affe404c55
commit
826ea930b1
3 changed files with 11 additions and 11 deletions
|
|
@ -31,8 +31,8 @@
|
|||
|
||||
|
||||
<section
|
||||
ng-class="{'main': index.hasProfile, 'main-dark': mainDark, 'animation-left': index.swipeLeft,
|
||||
'animation-right': index.swipeRight}"
|
||||
ng-class="{'main': index.hasProfile, 'main-dark': mainDark, 'animation-left': index.slideLeft,
|
||||
'animation-right': index.slideRight}"
|
||||
ui-view="main"></section>
|
||||
<div ui-view="menu" ng-if="!index.noFocusedWallet && !$root.hideMenuBar"></div>
|
||||
<a class="close-menu" ng-click="index.closeMenu()"></a>
|
||||
|
|
|
|||
|
|
@ -651,17 +651,17 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
|
||||
$rootScope.$on('Animation/Disable', function(event) {
|
||||
$timeout(function() {
|
||||
self.swipeLeft = false;
|
||||
self.swipeRight = false;
|
||||
self.slideLeft = false;
|
||||
self.slideRight = false;
|
||||
}, 370);
|
||||
});
|
||||
|
||||
$rootScope.$on('Animation/SwipeLeft', function(event) {
|
||||
self.swipeLeft = true;
|
||||
$rootScope.$on('Animation/SlideLeft', function(event) {
|
||||
self.slideLeft = true;
|
||||
});
|
||||
|
||||
$rootScope.$on('Animation/SwipeRight', function(event) {
|
||||
self.swipeRight = true;
|
||||
$rootScope.$on('Animation/SlideRight', function(event) {
|
||||
self.slideRight = true;
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -506,7 +506,7 @@ angular
|
|||
receive: 0,
|
||||
send: 0,
|
||||
history: 0,
|
||||
preferences: 0,
|
||||
preferences: 11,
|
||||
preferencesColor: 12,
|
||||
backup: 12,
|
||||
preferencesAdvanced: 12,
|
||||
|
|
@ -531,9 +531,9 @@ angular
|
|||
|
||||
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
||||
if (pageWeight[fromState.name] > pageWeight[toState.name]) {
|
||||
$rootScope.$emit('Animation/SwipeRight');
|
||||
$rootScope.$emit('Animation/SlideRight');
|
||||
} else if (pageWeight[fromState.name] < pageWeight[toState.name]) {
|
||||
$rootScope.$emit('Animation/SwipeLeft');
|
||||
$rootScope.$emit('Animation/SlideLeft');
|
||||
}
|
||||
|
||||
if (!profileService.profile && toState.needProfile) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue