diff --git a/ui (gen4)/css/experimenting.css b/ui (gen4)/css/experimenting.css
index d9a0434a..f589aadd 100755
--- a/ui (gen4)/css/experimenting.css
+++ b/ui (gen4)/css/experimenting.css
@@ -154,6 +154,10 @@ body {
.image-show-highlights {
filter: contrast(0.8) brightness(0.6) contrast(1.2);
}
+.image-edge-detect {
+ -webkit-filter: url(#EdgeDetect);
+ filter: url(#EdgeDetect);
+}
diff --git a/ui (gen4)/css/layout.less b/ui (gen4)/css/layout.less
index f76b7aeb..c0d0acaf 100755
--- a/ui (gen4)/css/layout.less
+++ b/ui (gen4)/css/layout.less
@@ -208,6 +208,10 @@
/*********************************************************************/
+.svg-filters {
+ display: none;
+}
+
:focus {
outline: rgba(255, 255, 255, 0.5) 1px solid;
}
diff --git a/ui (gen4)/electron.html b/ui (gen4)/electron.html
index d0f3d5b2..38f40979 100755
--- a/ui (gen4)/electron.html
+++ b/ui (gen4)/electron.html
@@ -92,6 +92,19 @@ requirejs('ui')
+
+
+
+
+
+
+
+
+
diff --git a/ui (gen4)/features/keyboard.js b/ui (gen4)/features/keyboard.js
index 2319654d..49c8567e 100755
--- a/ui (gen4)/features/keyboard.js
+++ b/ui (gen4)/features/keyboard.js
@@ -445,8 +445,9 @@ module.GLOBAL_KEYBOARD = {
';': 'togglePreviewFilter: "Show shadows" -- Preview shadows',
':': 'togglePreviewFilter: "Show highlights" -- Preview highlights',
'caps+:': ':',
- //'ctrl-;': 'togglePreviewFilter: "Show highlights" -- Preview highlights',
"'": 'togglePreviewFilter: "Black and white" -- Preview black and white',
+ '"': 'togglePreviewFilter: "Edge detect" -- Show edges',
+ 'caps+"': '"',
// doc...
// XXX for debug...
diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js
index 491ac4dd..e181b968 100755
--- a/ui (gen4)/features/ui.js
+++ b/ui (gen4)/features/ui.js
@@ -2147,6 +2147,7 @@ module.PreviewFilters = core.ImageGridFeatures.Feature({
'Black and white': 'image-bw',
'Show shadows': 'image-show-shadows',
'Show highlights': 'image-show-highlights',
+ 'Edge detect': 'image-edge-detect',
'No filters': 'none',
},
},
diff --git a/ui (gen4)/index.html b/ui (gen4)/index.html
index 9f63295f..38ca9e7f 100755
--- a/ui (gen4)/index.html
+++ b/ui (gen4)/index.html
@@ -100,6 +100,17 @@ requirejs(['ui'])
+
+
+
+
+
+
+