mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +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... */
|
/* 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;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1189,10 +1189,14 @@ module.Buttons = core.ImageGridFeatures.Feature({
|
|||||||
|
|
||||||
handlers: [
|
handlers: [
|
||||||
['start.pre',
|
['start.pre',
|
||||||
|
function(){
|
||||||
|
this.toggleAppButtons('on')
|
||||||
|
}],
|
||||||
|
// NOTE: these need to be loaded AFTER the .config has been loaded...
|
||||||
|
['start',
|
||||||
function(){
|
function(){
|
||||||
this.toggleMainButtons(this.config['main-buttons-state'] || 'on')
|
this.toggleMainButtons(this.config['main-buttons-state'] || 'on')
|
||||||
this.toggleSecondaryButtons(this.config['secondary-buttons-state'] || 'on')
|
this.toggleSecondaryButtons(this.config['secondary-buttons-state'] || 'on')
|
||||||
this.toggleAppButtons('on')
|
|
||||||
this.toggleSideButtons(this.config['side-buttons-state'] || 'on')
|
this.toggleSideButtons(this.config['side-buttons-state'] || 'on')
|
||||||
}],
|
}],
|
||||||
['load reload',
|
['load reload',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user