+5
-1
changelog
+5
-1
changelog
···
43
43
- Fixed photos with legacy naming scheme not loading
44
44
45
45
Hotfix 2:
46
-
- Added --background flag to always start in background
46
+
- Added --background flag to always start in background
47
+
48
+
v0.2.1:
49
+
- Fixed app using GPU while minimised, might use a tiny bit, but should be much better than before
50
+
- Fixed a load a bugs todo with
+1
-1
src-tauri/Cargo.lock
+1
-1
src-tauri/Cargo.lock
+1
-1
src-tauri/Cargo.toml
+1
-1
src-tauri/Cargo.toml
+1
src-tauri/src/main.rs
+1
src-tauri/src/main.rs
···
62
62
// Listen for file updates, store each update in an mpsc channel and send to the frontend
63
63
let (sender, receiver) = std::sync::mpsc::channel();
64
64
let mut watcher = notify::recommended_watcher(move | res: Result<notify::Event, notify::Error> | {
65
+
// TODO: Fix this, why does it not work??
65
66
match res {
66
67
Ok(event) => {
67
68
match event.kind{
+11
src/Components/PhotoList.tsx
+11
src/Components/PhotoList.tsx
···
367
367
ctxBG.drawImage(photoContainer, 0, 0);
368
368
}
369
369
370
+
listen('hide-window', () => {
371
+
quitRender = true;
372
+
})
373
+
374
+
listen('show-window', () => {
375
+
requestAnimationFrame(render);
376
+
})
377
+
370
378
listen('photo_meta_loaded', ( event: any ) => {
371
379
let data: PhotoMetadata = event.payload;
372
380
···
386
394
387
395
photo.metaLoaded = true;
388
396
photo.onMetaLoaded();
397
+
398
+
reloadFilters();
389
399
390
400
if(amountLoaded === photos.length && !hasFirstLoaded){
391
401
filteredPhotos = photos;
···
427
437
428
438
listen('photo_remove', ( event: any ) => {
429
439
photos = photos.filter(x => x.path !== event.payload);
440
+
filteredPhotos = filteredPhotos.filter(x => x.path !== event.payload);
430
441
431
442
if(event.payload === props.currentPhotoView().path){
432
443
currentPhotoIndex = -1;