diff --git a/src/netxs/apps.hpp b/src/netxs/apps.hpp index e8f03672a4..8e9252a013 100644 --- a/src/netxs/apps.hpp +++ b/src/netxs/apps.hpp @@ -772,10 +772,10 @@ namespace netxs::app::shared if (std::exchange(*esc_pressed, faux) != *esc_pressed) boss.bell::signal(tier::release, e2::form::state::keybd::command::close, *esc_pressed); if (gear.keystat != input::key::repeated) (*update_ptr)(items_inst, gear, true); }); - keybd.bind( "Esc", "DropIfRepeats"); - keybd.bind( "Esc", "WindowClosePreview"); - keybd.bind("-Esc", "WindowClose"); - keybd.bind( "Any", "UpdateChordPreview"); + keybd.template bind( "Esc", "DropIfRepeats"); + keybd.template bind( "Esc", "WindowClosePreview"); + keybd.template bind("-Esc", "WindowClose"); + keybd.template bind( "Any", "UpdateChordPreview"); keybd.proc("ScrollPageUp" , [&](hids& gear){ if (!gear.is_exclusive()) { scroll_inst.base::signal(tier::preview, e2::form::upon::scroll::bypage::y, { .vector = { 0, 1 }}); } }); keybd.proc("ScrollPageDown" , [&](hids& gear){ if (!gear.is_exclusive()) { scroll_inst.base::signal(tier::preview, e2::form::upon::scroll::bypage::y, { .vector = { 0,-1 }}); } }); keybd.proc("ScrollLineUp" , [&](hids& gear){ if (!gear.is_exclusive()) { scroll_inst.base::signal(tier::preview, e2::form::upon::scroll::bystep::y, { .vector = { 0, 3 }}); } });