mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor fixes and tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
12c5ac8693
commit
2b239c6dc3
@ -727,6 +727,8 @@ stretching in width... */
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
/*font-size: 2vh;*/
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.crisp-resize .image {
|
||||
|
||||
@ -1429,8 +1429,10 @@ var ControlActions = actions.Actions({
|
||||
// us...
|
||||
// XXX not fully sure if the reason here is
|
||||
// correct, but the thing works...
|
||||
var w = img.attr('preview-width')
|
||||
var h = img.attr('preview-height')
|
||||
// NOTE: preview-width/preview-height can be unset
|
||||
// for blank image blocks or virtual images...
|
||||
var w = img.attr('preview-width') || W
|
||||
var h = img.attr('preview-height') || H
|
||||
|
||||
// normalize preview size to image block size...
|
||||
var s = Math.min(W/w, H/h)
|
||||
|
||||
@ -27,6 +27,7 @@ var VirtualImagesActions = actions.Actions({
|
||||
//
|
||||
// XXX do better arg processing -- handle metadata correctly...
|
||||
// XXX add export support for this type of stuff...
|
||||
// text -> file.txt
|
||||
// XXX add default named templates...
|
||||
// XXX add svg templates???
|
||||
makeVirtualBlock: ['- Virtual/',
|
||||
@ -92,10 +93,6 @@ var VirtualImagesActions = actions.Actions({
|
||||
text: text || '',
|
||||
}) }],
|
||||
|
||||
// XXX virtual block editor UI...
|
||||
// XXX
|
||||
|
||||
|
||||
// XXX export...
|
||||
})
|
||||
|
||||
@ -119,11 +116,13 @@ module.VirtualImages = core.ImageGridFeatures.Feature({
|
||||
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
var VirtualImagesUIActions = actions.Actions({
|
||||
|
||||
// XXX virtual block editor UI...
|
||||
// XXX
|
||||
|
||||
})
|
||||
|
||||
var VirtualImagesUI =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user