bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-10-10 05:53:26 +03:00
parent f434e5af5f
commit 6dc70ea7c9
5 changed files with 21 additions and 16 deletions

View File

@ -705,6 +705,9 @@ stretching in width... */
background: no-repeat 50% transparent;
background-size: contain;
border: solid @image-border transparent;
/* XXX we are taking care of this in code -- see if we can use this */
image-orientation: none;
}
.image {

View File

@ -954,6 +954,18 @@ var LifeCycleActions = actions.Actions({
&& func.call(this)
}
}],
// helpers...
restart: ['System/Soft restart',
doc`Soft restart
This will stop, clear and then start ImageGrid.
`,
function(){
this
.stop()
.clear()
.start() }],
})
var LifeCycle =

View File

@ -194,18 +194,8 @@ module.GLOBAL_KEYBOARD = {
meta_Q: 'close',
// XXX
F5: 'reload!: "full" -- Reload viewer (full)',
/*F5: keyboard.doc('Reload viewer (full)',
function(){
//a.stop()
//killAllWorkers()
// .done(function(){
// reload()
// })
location.reload()
return false
}),
//*/
F5: 'restart! -- Soft restart',
ctrl_F5: 'reload!: "full" -- Reload viewer (full)',
F12: 'showDevTools',
// NOTE: these are for systems where F** keys are not available

View File

@ -1112,9 +1112,9 @@
"integrity": "sha512-EzT4CP6d6lI8bnknNgT3W8mUQhSVXflO0yPbKD4dKsFcINiC6npjoEBz+8m3VQmWJhc+36pXD4JLwNxUEgzi+Q=="
},
"ig-types": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/ig-types/-/ig-types-2.0.14.tgz",
"integrity": "sha512-GSWHNbfiiypCbgmK1VhIXcDZrjECTiV14UBq2qGFeUXA+X5ji2O3aoj2b8kYhiGhsELErKU+sgXzl6HBc4oGRg==",
"version": "2.0.16",
"resolved": "https://registry.npmjs.org/ig-types/-/ig-types-2.0.16.tgz",
"integrity": "sha512-p1qm26MkphItN1lj9CbcE/oKeLA55xpsqt17r8RVorWDbQBTtl1vtNdiAtBcVrCj+1CbJhZN74/ODi/pJR7kIQ==",
"requires": {
"ig-object": "^5.2.8",
"object-run": "^1.0.1"

View File

@ -31,7 +31,7 @@
"ig-argv": "^2.15.0",
"ig-features": "^3.4.2",
"ig-object": "^5.2.8",
"ig-types": "^2.0.14",
"ig-types": "^2.0.16",
"moment": "^2.29.1",
"object-run": "^1.0.1",
"requirejs": "^2.3.6",