Path type brackets: 8 px reach, hover highlight, and the nearest of a bracket and a port takes the press

Squashed from #5332 onto main.
This commit is contained in:
ham9zah
2026-11-03 16:03:40 +07:00
committed by bflatastic
parent 2b6cbfda5d
commit 2bc284aa25
5 changed files with 197 additions and 36 deletions
+1 -1
View File
@@ -51,8 +51,8 @@ mod tool;
use plain::char_range_to_bytes;
use plain::common_affixes;
pub use plain::step_key;
pub(crate) use ports::port_at;
pub use ports::{PORT_RISE_PX, PORTS_MAX, Port, PortMarks, PortState, port_centre, port_states, ported, ports_shown, push_port, thread_ports};
pub(crate) use ports::{port_at, port_near};
/// Which of the Type tools this is.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]