From 7f724a5727c1b479242b0d1cb582f9ab4ae771fb Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 28 Nov 2017 07:12:49 +0300 Subject: [PATCH] added highlight filter... Signed-off-by: Alex A. Naanou --- ui (gen4)/css/experimenting.css | 3 +++ ui (gen4)/features/keyboard.js | 1 + ui (gen4)/features/ui.js | 1 + 3 files changed, 5 insertions(+) diff --git a/ui (gen4)/css/experimenting.css b/ui (gen4)/css/experimenting.css index e4cff426..3a7ae601 100755 --- a/ui (gen4)/css/experimenting.css +++ b/ui (gen4)/css/experimenting.css @@ -153,6 +153,9 @@ body { .image-show-shadows { filter: contrast(0.8) brightness(3) contrast(1.5); } +.image-show-highlights { + filter: contrast(0.8) brightness(0.6) contrast(1.2); +} diff --git a/ui (gen4)/features/keyboard.js b/ui (gen4)/features/keyboard.js index 5ff9f253..83891e78 100755 --- a/ui (gen4)/features/keyboard.js +++ b/ui (gen4)/features/keyboard.js @@ -435,6 +435,7 @@ module.GLOBAL_KEYBOARD = { // filters... ';': 'togglePreviewFilter: "Show shadows" -- Preview shadows', + 'ctrl-;': 'togglePreviewFilter: "Show highlights" -- Preview highlights', "'": 'togglePreviewFilter: "Black and white" -- Preview black and white', // doc... diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index 51045e44..6855d1a0 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -2256,6 +2256,7 @@ module.PreviewFilters = core.ImageGridFeatures.Feature({ 'preview-filters': { 'Black and white': 'image-bw', 'Show shadows': 'image-show-shadows', + 'Show highlights': 'image-show-highlights', 'No filters': 'none', }, },