+2
-1
changelog
+2
-1
changelog
···
95
95
- Fixed the "Start with windows" button appearing on linux
96
96
- Fixed linux tray icon title
97
97
- Fixed build-release.sh script outputting the wrong names for windows builds
98
-
- Fixed clipboard on linux ( and speeded it up on windows )
98
+
- Fixed clipboard on linux ( and speeded it up on windows )
99
+
- Fixed some icons not fading out when moving to the settings menu
+1
-1
src-tauri/src/main.rs
+1
-1
src-tauri/src/main.rs
+1
src/Components/Managers/ViewManager.tsx
+1
src/Components/Managers/ViewManager.tsx
···
9
9
private _eventListeners: { from: ViewState, to: ViewState, cb: () => void }[] = [];
10
10
11
11
public ChangeState( state: ViewState ){
12
+
console.log('From: ' + this._state + ' To: ' + state);
12
13
this._eventListeners.filter(x => x.from === this._state && x.to === state).forEach(c => c.cb());
13
14
this._state = state;
14
15
}
+4
src/Components/PhotoList.tsx
+4
src/Components/PhotoList.tsx
···
40
40
41
41
window.ViewManager.OnStateTransition(ViewState.PHOTO_LIST, ViewState.SETTINGS, () => {
42
42
anime({ targets: photoContainer, opacity: 0, easing: 'easeInOutQuad', duration: 100 });
43
+
anime({ targets: '.filter-options', opacity: 0, easing: 'easeInOutQuad', duration: 100 });
44
+
anime({ targets: '.reload-photos', opacity: 0, easing: 'easeInOutQuad', duration: 100 });
43
45
});
44
46
45
47
window.ViewManager.OnStateTransition(ViewState.SETTINGS, ViewState.PHOTO_LIST, () => {
46
48
anime({ targets: photoContainer, opacity: 1, easing: 'easeInOutQuad', duration: 100 });
49
+
anime({ targets: '.filter-options', opacity: 1, easing: 'easeInOutQuad', duration: 100 });
50
+
anime({ targets: '.reload-photos', opacity: 1, easing: 'easeInOutQuad', duration: 100 });
47
51
});
48
52
49
53