+2
-1
changelog
+2
-1
changelog
···
95
- Fixed the "Start with windows" button appearing on linux
96
- Fixed linux tray icon title
97
- Fixed build-release.sh script outputting the wrong names for windows builds
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
private _eventListeners: { from: ViewState, to: ViewState, cb: () => void }[] = [];
10
11
public ChangeState( state: ViewState ){
12
+
console.log('From: ' + this._state + ' To: ' + state);
13
this._eventListeners.filter(x => x.from === this._state && x.to === state).forEach(c => c.cb());
14
this._state = state;
15
}
+4
src/Components/PhotoList.tsx
+4
src/Components/PhotoList.tsx
···
40
41
window.ViewManager.OnStateTransition(ViewState.PHOTO_LIST, ViewState.SETTINGS, () => {
42
anime({ targets: photoContainer, opacity: 0, easing: 'easeInOutQuad', duration: 100 });
43
});
44
45
window.ViewManager.OnStateTransition(ViewState.SETTINGS, ViewState.PHOTO_LIST, () => {
46
anime({ targets: photoContainer, opacity: 1, easing: 'easeInOutQuad', duration: 100 });
47
});
48
49
···
40
41
window.ViewManager.OnStateTransition(ViewState.PHOTO_LIST, ViewState.SETTINGS, () => {
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 });
45
});
46
47
window.ViewManager.OnStateTransition(ViewState.SETTINGS, ViewState.PHOTO_LIST, () => {
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 });
51
});
52
53