Skip to content

Commit

Permalink
Fix gcc complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Nov 7, 2024
1 parent e2387d0 commit fabaa8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/netxs/apps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<tier::preview>( "Esc", "DropIfRepeats");
keybd.bind<tier::release>( "Esc", "WindowClosePreview");
keybd.bind<tier::preview>("-Esc", "WindowClose");
keybd.bind<tier::release>( "Any", "UpdateChordPreview");
keybd.template bind<tier::preview>( "Esc", "DropIfRepeats");
keybd.template bind<tier::release>( "Esc", "WindowClosePreview");
keybd.template bind<tier::preview>("-Esc", "WindowClose");
keybd.template bind<tier::release>( "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 }}); } });
Expand Down

0 comments on commit fabaa8f

Please sign in to comment.