mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor tweaks + work on preact render...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b0590c95d5
commit
3079786663
@ -314,6 +314,11 @@ body {
|
||||
border-bottom: solid 7px rgba(255, 255, 0, 0.5);
|
||||
}
|
||||
*/
|
||||
/* XXX not sure about these... */
|
||||
.browse-widget.save-history,
|
||||
.browse-widget.location-history {
|
||||
border-bottom: solid 7px rgba(0, 0, 255, 0.2);
|
||||
}
|
||||
|
||||
/* XXX experimental key mappings... */
|
||||
.browse-widget.browse-actions.show-keys .list .item:after {
|
||||
|
||||
@ -1503,6 +1503,8 @@ var FileSystemSaveHistoryUIActions = actions.Actions({
|
||||
dialog.select()
|
||||
.addClass('highlighted')
|
||||
})
|
||||
}, {
|
||||
cls: 'save-history',
|
||||
})
|
||||
.on('open', function(){
|
||||
o.close()
|
||||
|
||||
@ -623,6 +623,7 @@ var URLHistoryUIActions = actions.Actions({
|
||||
.addClass('highlighted') })
|
||||
},
|
||||
{
|
||||
cls: 'location-history',
|
||||
// NOTE: we are not using path: here because it will parse
|
||||
// the current element as a path, and we need it as-is...
|
||||
selected: cur,
|
||||
|
||||
@ -30,6 +30,49 @@ var ribbons = require('imagegrid/ribbons')
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
// Preact Components...
|
||||
//
|
||||
// XXX at this point this is an experiment...
|
||||
// XXX Questions:
|
||||
// - do we do align in the Preact render or outside?
|
||||
// - do we update preview in Preact render or outside?
|
||||
//
|
||||
|
||||
// render:
|
||||
// - ribbon-set
|
||||
// - ribbon-locator
|
||||
// - current-indicator (???)
|
||||
class IGRibbonSet extends preact.Component {
|
||||
render(props, state){
|
||||
}
|
||||
}
|
||||
|
||||
// render:
|
||||
// - ribbon
|
||||
// - images
|
||||
// - image marks
|
||||
class IGRibbon extends preact.Component {
|
||||
render(props, state){
|
||||
}
|
||||
}
|
||||
|
||||
// render:
|
||||
// - image
|
||||
class IGImage extends preact.Component {
|
||||
render(props, state){
|
||||
}
|
||||
}
|
||||
|
||||
// render:
|
||||
// - image mark
|
||||
class IGImageMark extends preact.Component {
|
||||
render(props, state){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
var RibbonsClassPrototype = {
|
||||
// XXX
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user