replaced the utf gear icon with a material icon as the utf version is does not seem to be available on mac + preparing to make json stringification async...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-01-18 05:04:42 +03:00
parent 1f8723a0b7
commit 4b364b3f2a
5 changed files with 11 additions and 2 deletions

View File

@ -554,7 +554,8 @@ var AppButtonsActions = actions.Actions({
'app-buttons': {
//'<span/>': ['touch-controls', 'toggleSideButtons -- Toggle touch controls'],
// XXX not sure about this...
'&#9965;': ['ui-settings', [
//'&#9965;': ['ui-settings', [
'<span class="material-icons">settings</span>': ['ui-settings', [
'browseActions: "Interface/" -- Interface settings...',
'toggleSideButtons -- Toggle touch controls',
]],

View File

@ -250,6 +250,7 @@ module.ConfigLocalStorage = core.ImageGridFeatures.Feature({
// - app
// - home
// XXX config override location/filename to support portable apps...
// XXX comment support in json (preferably both reading and writing...)
var ConfigFS = actions.Actions({
config: {

View File

@ -2030,7 +2030,8 @@ var ButtonsActions = actions.Actions({
'app-buttons': {
//'<span/>': ['touch-controls', 'toggleSideButtons -- Toggle touch controls'],
//'&#9965;': ['ui-settings', 'browseActions: "Interface/" -- Interface settings...'],
'&#9965;': ['ui-settings', [
//'&#9965;': ['ui-settings', [
'<span class="material-icons">settings</span>': ['ui-settings', [
'browseActions: "Interface/" -- Interface settings...',
'toggleSideButtons -- Toggle touch controls',
]],

View File

@ -27,6 +27,11 @@
"version": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E="
},
"async-json": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/async-json/-/async-json-0.0.2.tgz",
"integrity": "sha1-qnEn2wOejkPaxyvR+7Z7oz9WgnA="
},
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",

View File

@ -19,6 +19,7 @@
},
"dependencies": {
"app-module-path": "^1.0.6",
"async-json": "0.0.2",
"commander": "^2.12.2",
"exiftool": "^0.0.3",
"fs-extra": "^4.0.3",