minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-08 02:35:06 +03:00
parent 5406c071a9
commit 2a5e490117
3 changed files with 13 additions and 8 deletions

View File

@ -1995,17 +1995,22 @@ progress:not(value)::-webkit-progress-bar {
} }
.progress-bar .close { .progress-bar .close {
display: none; display: none;
position: absolute;
top: 0px;
right: 7px;
width: 20px;
font-size: 20px;
text-align: center;
opacity: 0.3;
cursor: pointer;
} }
.progress-bar:hover .close { .progress-bar:hover .close {
position: absolute;
display: inline-block; display: inline-block;
right: 10px;
} }
.progress-bar .close:hover { .progress-bar .close:hover {
position: absolute; opacity: 1;
display: inline-block;
color: red; color: red;
cursor: pointer;
} }
.progress-bar progress { .progress-bar progress {
display: block; display: block;

View File

@ -2678,14 +2678,14 @@ function(title, func){
action = Queued(function(items, ...args){ action = Queued(function(items, ...args){
var that = this var that = this
// sync start... // sync start...
if(arguments[0] == 'sync'){ if(arguments[0] == 'sync' || arguments[0] == 'async'){
var [sync, items, ...args] = arguments } var [sync, items, ...args] = arguments }
// sync mode -- run action outside of queue... // sync mode -- run action outside of queue...
// NOTE: running the queue in sync mode is not practical as // NOTE: running the queue in sync mode is not practical as
// the results may depend on queue configuration and // the results may depend on queue configuration and
// size... // size...
if(sync){ if(sync == 'sync'){
// pre-process args... // pre-process args...
arg_handler arg_handler
&& ([items, ...args] = && ([items, ...args] =

View File

@ -115,7 +115,7 @@ var MetadataReaderActions = actions.Actions({
NOTE: also see: .cacheMetadata(..) NOTE: also see: .cacheMetadata(..)
`, `,
core.queueHandler('Read image metadata', core.sessionQueueHandler('Read image metadata',
{quiet: true}, {quiet: true},
function(queue, image, force){ function(queue, image, force){
return [ return [