mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e468ed35e4
commit
fed78ba0e9
@ -488,7 +488,12 @@ button:hover {
|
||||
}
|
||||
|
||||
/* XXX not sure if this is the right way to go... */
|
||||
.slideshow-running .buttons {
|
||||
.single-image-mode .main-buttons,
|
||||
.single-image-mode .app-buttons {
|
||||
opacity: 0.1;
|
||||
}
|
||||
.slideshow-running .main-buttons,
|
||||
.slideshow-running .app-buttons {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
@ -1189,10 +1189,14 @@ module.Buttons = core.ImageGridFeatures.Feature({
|
||||
|
||||
handlers: [
|
||||
['start.pre',
|
||||
function(){
|
||||
this.toggleAppButtons('on')
|
||||
}],
|
||||
// NOTE: these need to be loaded AFTER the .config has been loaded...
|
||||
['start',
|
||||
function(){
|
||||
this.toggleMainButtons(this.config['main-buttons-state'] || 'on')
|
||||
this.toggleSecondaryButtons(this.config['secondary-buttons-state'] || 'on')
|
||||
this.toggleAppButtons('on')
|
||||
this.toggleSideButtons(this.config['side-buttons-state'] || 'on')
|
||||
}],
|
||||
['load reload',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user