mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 13:48:13 +08:00
Rename "options/top bar" terminology to "control bar" and update comments
This commit is contained in:
@@ -795,7 +795,7 @@ impl ShapeState {
|
||||
while let Some((anchor, handles)) = missing_anchors.keys().next().copied().and_then(|id| missing_anchors.remove_entry(&id)) {
|
||||
visited.push(anchor);
|
||||
|
||||
// If the adgacent point is just this point then skip
|
||||
// If the adjacent point is just this point then skip
|
||||
let mut handles = handles.map(|handle| (handle.1 != anchor).then_some(handle));
|
||||
|
||||
// If the adjacent points are themselves being deleted, then repeatedly visit the newest agacent points.
|
||||
|
||||
@@ -63,8 +63,7 @@ pub trait Fsm {
|
||||
/// The implementing tool must set this to a struct designed to store the internal values stored in the tool.
|
||||
/// For example, it might be used to store the starting location of a point when a drag began so the displacement distance can be calculated.
|
||||
type ToolData;
|
||||
/// The implementing tool must set this to a struct (or `()` if none) designed to store the values of the tool options set by the user in the Options Bar
|
||||
/// (located above the viewport, below the document's tab).
|
||||
/// The implementing tool must set this to a struct (or `()` if none) designed to store the values of the tool options set by the user in the tool controls portion on the left of the control bar.
|
||||
type ToolOptions;
|
||||
|
||||
/// Implementing this mandatory trait function lets a specific tool react accordingly (and potentially change its state or internal variables) upon receiving an event to do something.
|
||||
|
||||
Reference in New Issue
Block a user