From f12919136677157fabafe94ef9d08f143f3f9c40 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 6 Feb 2019 02:58:55 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/ui.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui (gen4)/features/ui.js b/ui (gen4)/features/ui.js index f3017799..451430ad 100755 --- a/ui (gen4)/features/ui.js +++ b/ui (gen4)/features/ui.js @@ -824,6 +824,10 @@ module.Viewer = core.ImageGridFeatures.Feature({ 'addClass' : 'removeClass']('crop-mode') }], + + // update the alignment as soon as we switch modes... + ['toggleRibbonAlignMode', + function(){ this.focusImage() }], ], })