Skip to content

Commit

Permalink
implement better shuffle mode
Browse files Browse the repository at this point in the history
  • Loading branch information
neffo committed Nov 1, 2023
1 parent aed4d21 commit cc16aa0
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 122 deletions.
3 changes: 1 addition & 2 deletions carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ export default class Carousel {
deleteButton.connect('clicked', (widget) => {
this.log('Delete requested for '+filename);
Utils.deleteImage(filename);
//Utils.cleanupImageList(this.settings);
//Utils.cleanupImageList(this.settings); // hide image instead
Utils.hideImage(this.settings, [image]);
Utils.cleanupImageList(this.settings);
widget.get_parent().get_parent().set_visible(false); // bit of a hack
if (this.callbackfunc)
this.callbackfunc();
Expand Down
Loading

0 comments on commit cc16aa0

Please sign in to comment.